aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/open-motif-devel/files/patch-configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/open-motif-devel/files/patch-configure.ac')
-rw-r--r--x11-toolkits/open-motif-devel/files/patch-configure.ac11
1 files changed, 11 insertions, 0 deletions
diff --git a/x11-toolkits/open-motif-devel/files/patch-configure.ac b/x11-toolkits/open-motif-devel/files/patch-configure.ac
new file mode 100644
index 000000000000..b2a72792d9a8
--- /dev/null
+++ b/x11-toolkits/open-motif-devel/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