diff options
author | bsiegert <bsiegert@pkgsrc.org> | 2013-12-03 21:16:06 +0000 |
---|---|---|
committer | bsiegert <bsiegert@pkgsrc.org> | 2013-12-03 21:16:06 +0000 |
commit | 2da098dd5d363a2212f2b497e6078f504e2f9b56 (patch) | |
tree | eea70b032cc91ac12f0bcb6210ea2b405718a912 /textproc/icu | |
parent | f3b27add0f819e21b7f1f11cf9bd0bc2dd59ccbc (diff) | |
download | pkgsrc-2da098dd5d363a2212f2b497e6078f504e2f9b56.tar.gz |
Fix MirBSD build by adding a <sys/time.h> include.
Diffstat (limited to 'textproc/icu')
-rw-r--r-- | textproc/icu/distinfo | 4 | ||||
-rw-r--r-- | textproc/icu/patches/patch-common_unicode_platform.h | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/textproc/icu/distinfo b/textproc/icu/distinfo index 1bd29352eb5..34efa25b15e 100644 --- a/textproc/icu/distinfo +++ b/textproc/icu/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.41 2013/11/05 15:25:37 ryoon Exp $ +$NetBSD: distinfo,v 1.42 2013/12/03 21:16:06 bsiegert Exp $ SHA1 (icu4c-52_1-src.tgz) = 6de440b71668f1a65a9344cdaf7a437291416781 RMD160 (icu4c-52_1-src.tgz) = cbfbb18c3991ba55ebb50c607d5208cbfeb9fce3 @@ -10,7 +10,7 @@ SHA1 (patch-ad) = 8189e81e9c624e3b7a42f9af65a4b2f334747284 SHA1 (patch-af) = dcfbaf16844292a9ae57536ae2fb62fd1659d067 SHA1 (patch-common_Makefile.in) = 20fa472bd0e5e5fac15153774a58a8ce034d1996 SHA1 (patch-common_putilimp.h) = a68faa97c2bffeecaca1586e26f5bbe48e71b262 -SHA1 (patch-common_unicode_platform.h) = 6b5989b06db0431f391809af05a1dca302f2e906 +SHA1 (patch-common_unicode_platform.h) = 82786dff790782eb07cdc527061de33e771ec63c SHA1 (patch-common_uposixdefs.h) = abe1989ea4312702e5d0172b662409957b3e2d91 SHA1 (patch-config_icu-config-bottom) = 168b89ee9180d4ae545125866ee91eb004010501 SHA1 (patch-config_mh-cygwin) = e3aa7a926244b448ce12ab2f89156348a02c0659 diff --git a/textproc/icu/patches/patch-common_unicode_platform.h b/textproc/icu/patches/patch-common_unicode_platform.h index dcdf8dfc956..32377d836ee 100644 --- a/textproc/icu/patches/patch-common_unicode_platform.h +++ b/textproc/icu/patches/patch-common_unicode_platform.h @@ -1,4 +1,4 @@ -$NetBSD: patch-common_unicode_platform.h,v 1.5 2013/10/19 08:47:36 adam Exp $ +$NetBSD: patch-common_unicode_platform.h,v 1.6 2013/12/03 21:16:06 bsiegert Exp $ --- common/unicode/platform.h.orig 2013-10-04 20:49:10.000000000 +0000 +++ common/unicode/platform.h @@ -11,11 +11,12 @@ $NetBSD: patch-common_unicode_platform.h,v 1.5 2013/10/19 08:47:36 adam Exp $ # define U_PLATFORM U_PF_BSD #elif defined(sun) || defined(__sun) /* Check defined(__SVR4) || defined(__svr4__) to distinguish Solaris from SunOS? */ -@@ -379,6 +379,17 @@ +@@ -379,6 +379,18 @@ # define U_IS_BIG_ENDIAN 1 #elif defined(__LITTLE_ENDIAN__) || defined(_LITTLE_ENDIAN) # define U_IS_BIG_ENDIAN 0 +#elif U_PLATFORM == U_PF_BSD ++#include <sys/types.h> +#if defined(__OpenBSD__) +#include <machine/endian.h> +#else |