[101578] trunk/dports/devel/icu

ryandesign at macports.org ryandesign at macports.org
Sun Jan 13 20:19:19 PST 2013


Revision: 101578
          https://trac.macports.org/changeset/101578
Author:   ryandesign at macports.org
Date:     2013-01-13 20:19:19 -0800 (Sun, 13 Jan 2013)
Log Message:
-----------
icu: remove -Wall from icu-config scripts and icu-*.pc files because this infects other software trying to build against icu

Modified Paths:
--------------
    trunk/dports/devel/icu/Portfile
    trunk/dports/devel/icu/files/patch-configure.diff

Modified: trunk/dports/devel/icu/Portfile
===================================================================
--- trunk/dports/devel/icu/Portfile	2013-01-14 04:10:03 UTC (rev 101577)
+++ trunk/dports/devel/icu/Portfile	2013-01-14 04:19:19 UTC (rev 101578)
@@ -9,6 +9,7 @@
 # Don't forget to increase the revision number of the dependents (e.g. boost)
 # whenever the library version number changes. Thanks.
 version         49.1.2
+revision        1
 categories      devel textproc
 platforms       darwin freebsd
 license         MIT

Modified: trunk/dports/devel/icu/files/patch-configure.diff
===================================================================
--- trunk/dports/devel/icu/files/patch-configure.diff	2013-01-14 04:10:03 UTC (rev 101577)
+++ trunk/dports/devel/icu/files/patch-configure.diff	2013-01-14 04:19:19 UTC (rev 101578)
@@ -1,5 +1,31 @@
 --- configure.orig	2012-06-01 09:56:18.000000000 -0500
-+++ configure	2012-09-15 13:58:16.000000000 -0500
++++ configure	2013-01-13 22:10:52.000000000 -0600
+@@ -4263,13 +4263,13 @@
+         then
+             case "${host}" in
+             *-*-solaris*)
+-                CFLAGS="$CFLAGS -Wall -ansi -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long"
++                CFLAGS="$CFLAGS -ansi -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long"
+                 CFLAGS="$CFLAGS -D__STDC__=0";;
+             *-*-hpux*)
+                 echo "# Note: We are not using '-ansi' with HP/UX GCC because int64_t broke, see <http://bugs.icu-project.org/trac/ticket/8493>"
+-                CFLAGS="$CFLAGS -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long";;
++                CFLAGS="$CFLAGS -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long";;
+             *)
+-                CFLAGS="$CFLAGS -Wall -ansi -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long";;
++                CFLAGS="$CFLAGS -ansi -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long";;
+             esac
+         else
+             case "${host}" in
+@@ -4282,7 +4282,7 @@
+         fi
+         if test "$GXX" = yes
+         then
+-            CXXFLAGS="$CXXFLAGS -W -Wall -ansi -pedantic -Wpointer-arith -Wwrite-strings -Wno-long-long"
++            CXXFLAGS="$CXXFLAGS -W -ansi -pedantic -Wpointer-arith -Wwrite-strings -Wno-long-long"
+             case "${host}" in
+             *-*-solaris*)
+                 CXXFLAGS="$CXXFLAGS -D__STDC__=0";;
 @@ -6216,40 +6216,6 @@
    $as_echo_n "(cached) " >&6
  else
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130113/1de8ae63/attachment.html>


More information about the macports-changes mailing list