ports/multimedia/smpeg/files/patch-configure
Dmitry Marakasov 32fc4fcbc3 - Fix build with clang
PR:		159270
Submitted by:	myself
Approved by:	acm (maintainer via private email)
2011-09-09 03:33:07 +00:00

22 lines
549 B
Text

$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"
LIBS="$LIBS $SDL_LIBS"
+CC="$REAL_CC"
echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6
echo "configure:2341: checking for sqrt in -lm" >&5