diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2011-09-09 11:33:07 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2011-09-09 11:33:07 +0800 |
commit | be7c6922adf93643277c0edc935b704d42ec6bd5 (patch) | |
tree | 3118b0f41d85caa91e3f086f59737ee6d4cfe392 /multimedia | |
parent | a9fc3cc9688ddc9715176cd09597e8aa874482e7 (diff) | |
download | freebsd-ports-gnome-be7c6922adf93643277c0edc935b704d42ec6bd5.tar.gz freebsd-ports-gnome-be7c6922adf93643277c0edc935b704d42ec6bd5.tar.zst freebsd-ports-gnome-be7c6922adf93643277c0edc935b704d42ec6bd5.zip |
- Fix build with clang
PR: 159270
Submitted by: myself
Approved by: acm (maintainer via private email)
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/smpeg/files/patch-configure | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/multimedia/smpeg/files/patch-configure b/multimedia/smpeg/files/patch-configure index 8eddcc730596..46e0c0dc932e 100644 --- a/multimedia/smpeg/files/patch-configure +++ b/multimedia/smpeg/files/patch-configure @@ -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" |