pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/icu Fix building on Darwin
details: https://anonhg.NetBSD.org/pkgsrc/rev/009cb82282b1
branches: trunk
changeset: 369823:009cb82282b1
user: adam <adam%pkgsrc.org@localhost>
date: Fri Oct 06 05:42:01 2017 +0000
description:
Fix building on Darwin
diffstat:
textproc/icu/distinfo | 4 ++--
textproc/icu/patches/patch-i18n_digitlst.cpp | 17 +++++++++--------
2 files changed, 11 insertions(+), 10 deletions(-)
diffs (51 lines):
diff -r f161ce0e8d6b -r 009cb82282b1 textproc/icu/distinfo
--- a/textproc/icu/distinfo Fri Oct 06 04:35:45 2017 +0000
+++ b/textproc/icu/distinfo Fri Oct 06 05:42:01 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.67 2017/10/05 22:50:30 maya Exp $
+$NetBSD: distinfo,v 1.68 2017/10/06 05:42:01 adam 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) = 6f4721d94f0985f5fbce1de75070ebff6a929246
+SHA1 (patch-i18n_digitlst.cpp) = 000abf4ad9d963e3e786eeccf5a74f01fac33838
SHA1 (patch-icudefs.mk.in) = c2a9469bf896b5f0702d5795c3b1c2b394893663
SHA1 (patch-runConfigureICU) = ee780dbe797c7230208f378f73a0bc4d215b1bb2
SHA1 (patch-tools-toolutil-pkg_genc.cpp) = 3cbcf3387d6a39315b26a3e2a2ffb715507e9110
diff -r f161ce0e8d6b -r 009cb82282b1 textproc/icu/patches/patch-i18n_digitlst.cpp
--- a/textproc/icu/patches/patch-i18n_digitlst.cpp Fri Oct 06 04:35:45 2017 +0000
+++ b/textproc/icu/patches/patch-i18n_digitlst.cpp Fri Oct 06 05:42:01 2017 +0000
@@ -1,20 +1,21 @@
-$NetBSD: patch-i18n_digitlst.cpp,v 1.3 2017/10/05 22:50:30 maya Exp $
+$NetBSD: patch-i18n_digitlst.cpp,v 1.4 2017/10/06 05:42:01 adam Exp $
-Never include xlocale.h - not portable header, also removed in current
-glibc.
+Do not include xlocale.h, except for Darwin - not portable header,
+also removed in current glibc.
--- i18n/digitlst.cpp.orig 2017-01-20 00:20:31.000000000 +0000
+++ i18n/digitlst.cpp
-@@ -61,11 +61,7 @@
+@@ -61,10 +61,10 @@
#endif
#if U_USE_STRTOD_L
-# if U_PLATFORM_USES_ONLY_WIN32_API || U_PLATFORM == U_PF_CYGWIN
-# include <locale.h>
-# else
--# include <xlocale.h>
--# endif
-+# include <locale.h>
++# ifdef __APPLE__
+ # include <xlocale.h>
++# else
++# include <locale.h>
+ # endif
#endif
- // ***************************************************************************
Home |
Main Index |
Thread Index |
Old Index