pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/icu icu: include xlocale on all non-netbsd no...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e127debb5a3b
branches:  trunk
changeset: 369840:e127debb5a3b
user:      maya <maya%pkgsrc.org@localhost>
date:      Fri Oct 06 15:20:42 2017 +0000

description:
icu: include xlocale on all non-netbsd non-linux systems.
netbsd&linux do not have it (glibc had it, but removed in 2.26, and
was satisfied by locale.h always, if their release notes is to be believed)

this should cover BSDs other than netbsd, etc.

diffstat:

 textproc/icu/distinfo                        |  4 ++--
 textproc/icu/patches/patch-i18n_digitlst.cpp |  8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (41 lines):

diff -r 8d6719bd5869 -r e127debb5a3b textproc/icu/distinfo
--- a/textproc/icu/distinfo     Fri Oct 06 14:46:21 2017 +0000
+++ b/textproc/icu/distinfo     Fri Oct 06 15:20:42 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.68 2017/10/06 05:42:01 adam Exp $
+$NetBSD: distinfo,v 1.69 2017/10/06 15:20:42 maya Exp $
 
 SHA1 (icu4c-59_1-src.tgz) = e86189f53c0a01cecf093a555e1ebbd14abf5b82
 RMD160 (icu4c-59_1-src.tgz) = fe4bad598bbe0833b05e4626a1c941ad5e58a809
@@ -18,7 +18,7 @@
 SHA1 (patch-config_mh-solaris-gcc) = e1097930f577917d3583e425d9d2affa1c3dcaf2
 SHA1 (patch-configure) = fdeae51f4390779dfd8df8471196e322cbb9ea3d
 SHA1 (patch-configure.ac) = b0291cf02351cbad9b0c7340baea9eb81cabb158
-SHA1 (patch-i18n_digitlst.cpp) = 000abf4ad9d963e3e786eeccf5a74f01fac33838
+SHA1 (patch-i18n_digitlst.cpp) = 2091ec0d6fe376d4f3f7ebee63515b86b78d3646
 SHA1 (patch-icudefs.mk.in) = c2a9469bf896b5f0702d5795c3b1c2b394893663
 SHA1 (patch-runConfigureICU) = ee780dbe797c7230208f378f73a0bc4d215b1bb2
 SHA1 (patch-tools-toolutil-pkg_genc.cpp) = 3cbcf3387d6a39315b26a3e2a2ffb715507e9110
diff -r 8d6719bd5869 -r e127debb5a3b textproc/icu/patches/patch-i18n_digitlst.cpp
--- a/textproc/icu/patches/patch-i18n_digitlst.cpp      Fri Oct 06 14:46:21 2017 +0000
+++ b/textproc/icu/patches/patch-i18n_digitlst.cpp      Fri Oct 06 15:20:42 2017 +0000
@@ -1,7 +1,7 @@
-$NetBSD: patch-i18n_digitlst.cpp,v 1.4 2017/10/06 05:42:01 adam Exp $
+$NetBSD: patch-i18n_digitlst.cpp,v 1.5 2017/10/06 15:20:42 maya Exp $
 
-Do not include xlocale.h, except for Darwin - not portable header,
-also removed in current glibc.
+Avoid including xlocale.h on linux and netbsd, which don't have
+xlocale.h
 
 --- i18n/digitlst.cpp.orig     2017-01-20 00:20:31.000000000 +0000
 +++ i18n/digitlst.cpp
@@ -12,7 +12,7 @@
 -# if U_PLATFORM_USES_ONLY_WIN32_API || U_PLATFORM == U_PF_CYGWIN
 -#   include <locale.h>
 -# else
-+# ifdef __APPLE__
++# if !defined(__NetBSD__) && !defined(__linux__)
  #   include <xlocale.h>
 +# else
 +#   include <locale.h>



Home | Main Index | Thread Index | Old Index