1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

- Fix build with clang

PR:		159270
Submitted by:	myself
Approved by:	acm (maintainer via private email)
This commit is contained in:
Dmitry Marakasov 2011-09-09 03:33:07 +00:00
parent 5f3057b6ea
commit 32fc4fcbc3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=281476

View File

@ -3,6 +3,15 @@ $FreeBSD$
--- configure 2002/07/02 12:33:37 1.1
+++ configure 2002/07/02 12:34:01
@@ -1055,7 +1055,7 @@
#line 1056 "configure"
#include "confdefs.h"
-main(){return(0);}
+int main(){return(0);}
EOF
if { (eval echo configure:1061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
ac_cv_prog_cc_works=yes
@@ -2335,6 +2335,7 @@
CFLAGS="$CFLAGS $SDL_CFLAGS"