pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/icu icu: Fix build on SunOS.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/65b728a0f938
branches:  trunk
changeset: 332328:65b728a0f938
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Mon Apr 08 21:39:43 2019 +0000

description:
icu: Fix build on SunOS.

diffstat:

 textproc/icu/distinfo                        |   3 ++-
 textproc/icu/patches/patch-common_ubidiimp.h |  18 ++++++++++++++++++
 2 files changed, 20 insertions(+), 1 deletions(-)

diffs (39 lines):

diff -r e22c12701939 -r 65b728a0f938 textproc/icu/distinfo
--- a/textproc/icu/distinfo     Mon Apr 08 21:38:39 2019 +0000
+++ b/textproc/icu/distinfo     Mon Apr 08 21:39:43 2019 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.82 2019/04/03 00:12:59 ryoon Exp $
+$NetBSD: distinfo,v 1.83 2019/04/08 21:39:43 jperkin Exp $
 
 SHA1 (icu4c-64_1-src.tgz) = 50f900fe983dcdb46c68a078b8b09afde1339ad7
 RMD160 (icu4c-64_1-src.tgz) = 9c7c07493b2700397075c50112642f849938f05c
@@ -8,6 +8,7 @@
 SHA1 (patch-acinclude.m4) = f7de1a16aad0ca77c4bbc457ba76b6171199ce09
 SHA1 (patch-common_putil.cpp) = 6aa70b8698d663d3c798bafd9010a824c9609c20
 SHA1 (patch-common_putilimp.h) = a68faa97c2bffeecaca1586e26f5bbe48e71b262
+SHA1 (patch-common_ubidiimp.h) = 99fbd68d5a05303696cb5cccb71045b470827369
 SHA1 (patch-common_umutex.h) = b22b7c02b4645a87f71d54885d858d0cf9005988
 SHA1 (patch-common_unicode_platform.h) = 8b7b8bcf6f5185225a1ca516ac212a495f7b47e8
 SHA1 (patch-common_uposixdefs.h) = 4739ca7d4662335adcb322cd0943770651d548ce
diff -r e22c12701939 -r 65b728a0f938 textproc/icu/patches/patch-common_ubidiimp.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/icu/patches/patch-common_ubidiimp.h      Mon Apr 08 21:39:43 2019 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-common_ubidiimp.h,v 1.1 2019/04/08 21:39:43 jperkin Exp $
+
+Avoid sys/regset.h pollution on SunOS.
+
+--- common/ubidiimp.h.orig     2019-03-27 18:47:14.000000000 +0000
++++ common/ubidiimp.h
+@@ -24,6 +24,11 @@
+ #include "unicode/uchar.h"
+ #include "ubidi_props.h"
+ 
++#ifdef __sun
++#undef CS
++#undef ES
++#endif
++
+ /* miscellaneous definitions ---------------------------------------------- */
+ 
+ typedef uint8_t DirProp;



Home | Main Index | Thread Index | Old Index