aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2014-02-02 15:09:00 +0000
committerDimitry Andric <dim@FreeBSD.org>2014-02-02 15:09:00 +0000
commit5503dc1f92cdc89da7e30f0190a179ec5368e016 (patch)
treee4f6aec0000c4550a33627fbc297166858f4e063 /x11-toolkits
parent4e50dfc652854a84d632c1f15f9c0a1ee9975721 (diff)
downloadports-5503dc1f92cdc89da7e30f0190a179ec5368e016.tar.gz
ports-5503dc1f92cdc89da7e30f0190a179ec5368e016.zip
Notes
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/open-motif/files/patch-configure.ac11
1 files changed, 11 insertions, 0 deletions
diff --git a/x11-toolkits/open-motif/files/patch-configure.ac b/x11-toolkits/open-motif/files/patch-configure.ac
new file mode 100644
index 000000000000..b2a72792d9a8
--- /dev/null
+++ b/x11-toolkits/open-motif/files/patch-configure.ac
@@ -0,0 +1,11 @@
+--- configure.ac.orig 2012-10-22 16:50:39.000000000 +0200
++++ configure.ac 2014-01-27 22:38:58.000000000 +0100
+@@ -164,7 +164,7 @@
+ if test x$GCC = xyes
+ then
+ CFLAGS="$CFLAGS -Wall -g -fno-strict-aliasing -Wno-unused -Wno-comment"
+- if test ` $CC -dumpversion | sed -e 's/\(^.\).*/\1/'` = "4" ; then
++ if ! $CC -v 2>&1 | grep clang > /dev/null && test ` $CC -dumpversion | sed -e 's/\(^.\).*/\1/'` = "4" ; then
+ CFLAGS="$CFLAGS -fno-tree-ter"
+ fi
+ fi