aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2011-09-13 05:11:31 +0800
committerRene Ladan <rene@FreeBSD.org>2011-09-13 05:11:31 +0800
commit8e4f15bd460d7d26c183c4e9949b1327a8739eba (patch)
tree4e9b31cc52679e52bf511964f2b040fa718bdc19 /x11
parent55cdf663270623a026e56fdcd3f8f693c25771c5 (diff)
downloadfreebsd-ports-gnome-8e4f15bd460d7d26c183c4e9949b1327a8739eba.tar.gz
freebsd-ports-gnome-8e4f15bd460d7d26c183c4e9949b1327a8739eba.tar.zst
freebsd-ports-gnome-8e4f15bd460d7d26c183c4e9949b1327a8739eba.zip
Fix build with clang.
Diffstat (limited to 'x11')
-rw-r--r--x11/libdnd/files/patch-configure20
1 files changed, 20 insertions, 0 deletions
diff --git a/x11/libdnd/files/patch-configure b/x11/libdnd/files/patch-configure
new file mode 100644
index 000000000000..e7edc649095c
--- /dev/null
+++ b/x11/libdnd/files/patch-configure
@@ -0,0 +1,20 @@
+--- configure.orig 1997-05-24 09:28:20.000000000 +0200
++++ configure 2011-09-12 22:35:36.000000000 +0200
+@@ -612,7 +612,7 @@
+ cat > conftest.$ac_ext <<EOF
+ #line 614 "configure"
+ #include "confdefs.h"
+-main(){return(0);}
++int main(){return(0);}
+ EOF
+ if { (eval echo configure:618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+ ac_cv_prog_cc_works=yes
+@@ -738,7 +738,7 @@
+ cat > conftest.$ac_ext <<EOF
+ #line 740 "configure"
+ #include "confdefs.h"
+-main(){return(0);}
++int main(){return(0);}
+ EOF
+ if { (eval echo configure:744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+ ac_cv_prog_cxx_works=yes