pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/icu icu: remove part of configure script stri...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4f090be7580c
branches:  trunk
changeset: 361687:4f090be7580c
user:      maya <maya%pkgsrc.org@localhost>
date:      Tue Apr 25 08:58:44 2017 +0000

description:
icu: remove part of configure script stripping -std=c++11 on Solaris
Blind build fix attempt for SmartOS.

diffstat:

 textproc/icu/distinfo                |   4 ++--
 textproc/icu/patches/patch-configure |  28 +++++++++++++++++++++-------
 2 files changed, 23 insertions(+), 9 deletions(-)

diffs (87 lines):

diff -r f750b4741c22 -r 4f090be7580c textproc/icu/distinfo
--- a/textproc/icu/distinfo     Tue Apr 25 06:49:45 2017 +0000
+++ b/textproc/icu/distinfo     Tue Apr 25 08:58:44 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.64 2017/04/22 20:11:45 adam Exp $
+$NetBSD: distinfo,v 1.65 2017/04/25 08:58:44 maya Exp $
 
 SHA1 (icu4c-59_1-src.tgz) = e86189f53c0a01cecf093a555e1ebbd14abf5b82
 RMD160 (icu4c-59_1-src.tgz) = fe4bad598bbe0833b05e4626a1c941ad5e58a809
@@ -16,7 +16,7 @@
 SHA1 (patch-config_mh-darwin) = 32f0e4c241535e37e4cad9b871ed3d36b4184199
 SHA1 (patch-config_mh-scoosr5) = 47703dcc184f58c0382da3225f849424ab74d472
 SHA1 (patch-config_mh-solaris-gcc) = 19f76c27bef22cc3b572e4b67a526d5f1aa077bc
-SHA1 (patch-configure) = 429c0b3eb3f7d0a8cf3d01a9bc359132eebe8cf4
+SHA1 (patch-configure) = fdeae51f4390779dfd8df8471196e322cbb9ea3d
 SHA1 (patch-configure.ac) = b0291cf02351cbad9b0c7340baea9eb81cabb158
 SHA1 (patch-i18n_digitlst.cpp) = 2db1a8e28e353ecf201f965d9719d451534865ad
 SHA1 (patch-icudefs.mk.in) = c2a9469bf896b5f0702d5795c3b1c2b394893663
diff -r f750b4741c22 -r 4f090be7580c textproc/icu/patches/patch-configure
--- a/textproc/icu/patches/patch-configure      Tue Apr 25 06:49:45 2017 +0000
+++ b/textproc/icu/patches/patch-configure      Tue Apr 25 08:58:44 2017 +0000
@@ -1,12 +1,14 @@
-$NetBSD: patch-configure,v 1.8 2015/10/09 23:15:34 ryoon Exp $
+$NetBSD: patch-configure,v 1.9 2017/04/25 08:58:44 maya Exp $
 
 Portability fix.
 Solaris seems to need -std=c99 with recent pkgsrc so keep it.
+don't throw away -std=c++11 on solaris unconditionally, it's
+required.
 Add support for Bitrig.
 
---- configure.orig     2015-10-08 04:00:24.000000000 +0000
+--- configure.orig     2017-04-07 07:40:30.000000000 +0000
 +++ configure
-@@ -5174,7 +5174,7 @@ rm -f core conftest.err conftest.$ac_obj
+@@ -5175,7 +5175,7 @@ rm -f core conftest.err conftest.$ac_obj
                *-*-cygwin) icu_cv_host_frag=mh-cygwin-msvc ;;
                esac
        fi ;;
@@ -15,7 +17,7 @@
  *-*-aix*)
        if test "$GCC" = yes; then
                icu_cv_host_frag=mh-aix-gcc
-@@ -5199,6 +5199,7 @@ rm -f core conftest.err conftest.$ac_obj
+@@ -5200,6 +5200,7 @@ rm -f core conftest.err conftest.$ac_obj
  *-dec-osf*) icu_cv_host_frag=mh-alpha-osf ;;
  *-*-nto*)     icu_cv_host_frag=mh-qnx ;;
  *-ncr-*)      icu_cv_host_frag=mh-mpras ;;
@@ -23,7 +25,7 @@
  *)            icu_cv_host_frag=mh-unknown ;;
  esac
  
-@@ -5736,6 +5737,29 @@ if test "x$plugins" = "xtrue"; then
+@@ -5808,6 +5809,29 @@ if test "x$plugins" = "xtrue"; then
  fi
  
  
@@ -53,7 +55,19 @@
  U_ENABLE_DYLOAD=1
  enable=yes
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable dynamic loading of plugins. Ignored if plugins disabled." >&5
-@@ -7729,7 +7753,7 @@ ICUDATA_CHAR=$U_ENDIAN_CHAR
+@@ -6021,11 +6045,6 @@ $as_echo "$as_me: Adding CXXFLAGS option
+         else
+             CXXFLAGS="$OLD_CXXFLAGS"
+         fi
+-        case "${host}" in
+-        *-*-solaris*)
+-            CXXFLAGS="$OLD_CXXFLAGS"
+-            ;;
+-        esac
+     fi
+ fi
+ 
+@@ -7776,7 +7795,7 @@ ICUDATA_CHAR=$U_ENDIAN_CHAR
  case "${host}" in
        *-*-solaris*)   platform=U_SOLARIS ;;
        *-*-linux*|*-*-gnu|*-*-k*bsd*-gnu|*-*-kopensolaris*-gnu)        platform=U_LINUX ;;
@@ -62,7 +76,7 @@
        *-*-aix*)       platform=U_AIX ;;
        *-*-hpux*)      platform=U_HPUX ;;
        *-apple-darwin*|*-apple-rhapsody*)      platform=U_DARWIN ;;
-@@ -7765,13 +7789,13 @@ fi
+@@ -7812,13 +7831,13 @@ fi
  # Now that we're done using CPPFLAGS etc. for tests, we can change it
  # for build.
  



Home | Main Index | Thread Index | Old Index