pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/icu



Module Name:    pkgsrc
Committed By:   adam
Date:           Fri Oct  6 05:42:01 UTC 2017

Modified Files:
        pkgsrc/textproc/icu: distinfo
        pkgsrc/textproc/icu/patches: patch-i18n_digitlst.cpp

Log Message:
Fix building on Darwin


To generate a diff of this commit:
cvs rdiff -u -r1.67 -r1.68 pkgsrc/textproc/icu/distinfo
cvs rdiff -u -r1.3 -r1.4 pkgsrc/textproc/icu/patches/patch-i18n_digitlst.cpp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/icu/distinfo
diff -u pkgsrc/textproc/icu/distinfo:1.67 pkgsrc/textproc/icu/distinfo:1.68
--- pkgsrc/textproc/icu/distinfo:1.67   Thu Oct  5 22:50:30 2017
+++ pkgsrc/textproc/icu/distinfo        Fri Oct  6 05:42:01 2017
@@ -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-scoosr5) = 47703dc
 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

Index: pkgsrc/textproc/icu/patches/patch-i18n_digitlst.cpp
diff -u pkgsrc/textproc/icu/patches/patch-i18n_digitlst.cpp:1.3 pkgsrc/textproc/icu/patches/patch-i18n_digitlst.cpp:1.4
--- pkgsrc/textproc/icu/patches/patch-i18n_digitlst.cpp:1.3     Thu Oct  5 22:50:30 2017
+++ pkgsrc/textproc/icu/patches/patch-i18n_digitlst.cpp Fri Oct  6 05:42:01 2017
@@ -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