summaryrefslogtreecommitdiff
path: root/devel/libdispatch/files
diff options
context:
space:
mode:
authorStanislav Sedov <stas@FreeBSD.org>2009-12-14 21:48:06 +0000
committerStanislav Sedov <stas@FreeBSD.org>2009-12-14 21:48:06 +0000
commitcca7c39910932b5444c0ce46775e8c6ce2d62f06 (patch)
tree0dc257966e8900c98075dffaf1393d8ffd649393 /devel/libdispatch/files
parentAdd a patch to fix a periodic focus bug (diff)
- Fix build with CLang.
Diffstat (limited to 'devel/libdispatch/files')
-rw-r--r--devel/libdispatch/files/patch-configure11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/libdispatch/files/patch-configure b/devel/libdispatch/files/patch-configure
new file mode 100644
index 000000000000..5e1afe1e76fc
--- /dev/null
+++ b/devel/libdispatch/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig 2009-12-14 13:44:05.000000000 -0800
++++ configure 2009-12-14 13:45:02.000000000 -0800
+@@ -19325,7 +19325,7 @@
+ # should force that linkage already.
+ #
+ saveCFLAGS="$CFLAGS"
+- CFLAGS="$CFLAGS -fblocks"
++ CFLAGS="$CFLAGS -fblocks -O0"
+ { $as_echo "$as_me:$LINENO: checking whether additional libraries are required for the Blocks runtime" >&5
+ $as_echo_n "checking whether additional libraries are required for the Blocks runtime... " >&6; }
+ cat >conftest.$ac_ext <<_ACEOF