aboutsummaryrefslogtreecommitdiffstats
path: root/x11/libdnd
diff options
context:
space:
mode:
authorrene <rene@FreeBSD.org>2011-09-13 05:11:31 +0800
committerrene <rene@FreeBSD.org>2011-09-13 05:11:31 +0800
commit7d9496ad18c4866601ea2634d1ecb6fbd2a949eb (patch)
treeee56ea421b7c5a1f4ff75dc54ff8703384095266 /x11/libdnd
parent01014a1fdfe350150c3681e55b20eacbec801c5e (diff)
downloadfreebsd-ports-gnome-7d9496ad18c4866601ea2634d1ecb6fbd2a949eb.tar.gz
freebsd-ports-gnome-7d9496ad18c4866601ea2634d1ecb6fbd2a949eb.tar.zst
freebsd-ports-gnome-7d9496ad18c4866601ea2634d1ecb6fbd2a949eb.zip
Fix build with clang.
Diffstat (limited to 'x11/libdnd')
-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