svn commit: r342312 - head/x11-toolkits/open-motif/files

Dimitry Andric dim at FreeBSD.org
Sun Feb 2 15:09:00 UTC 2014


Author: dim (src committer)
Date: Sun Feb  2 15:09:00 2014
New Revision: 342312
URL: http://svnweb.freebsd.org/changeset/ports/342312
QAT: https://qat.redports.org/buildarchive/r342312/

Log:
  For clang, stop adding -fno-tree-ter to CFLAGS, since it will cause an
  error message for clang 3.4 and later.
  
  Approved by:	portmgr (bdrewery)

Added:
  head/x11-toolkits/open-motif/files/patch-configure.ac   (contents, props changed)

Added: head/x11-toolkits/open-motif/files/patch-configure.ac
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-toolkits/open-motif/files/patch-configure.ac	Sun Feb  2 15:09:00 2014	(r342312)
@@ -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


More information about the svn-ports-all mailing list