From f5262a9d32de1e0bf68af300428febcf95930350 Mon Sep 17 00:00:00 2001 From: maya Date: Wed, 27 Jun 2018 19:06:17 +0000 Subject: icu: fix build on armeb by adding it to the long list of archs that exist and don't have 80bit float types. PR pkg/53408 --- textproc/icu/distinfo | 3 ++- .../icu/patches/patch-i18n_double-conversion-utils.h | 16 ++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 textproc/icu/patches/patch-i18n_double-conversion-utils.h (limited to 'textproc/icu') diff --git a/textproc/icu/distinfo b/textproc/icu/distinfo index 1d61ce0ac16..79ebfebd5aa 100644 --- a/textproc/icu/distinfo +++ b/textproc/icu/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.75 2018/04/14 07:05:08 adam Exp $ +$NetBSD: distinfo,v 1.76 2018/06/27 19:06:17 maya Exp $ SHA1 (icu4c-61_1-src.tgz) = 06ca7b1e64c28e07d5633a2e0257380884ea486b RMD160 (icu4c-61_1-src.tgz) = 50560a899c9c55eb033f86fb7fc56a3db28f2b87 @@ -18,6 +18,7 @@ SHA1 (patch-config_mh-scoosr5) = 47703dcc184f58c0382da3225f849424ab74d472 SHA1 (patch-config_mh-solaris-gcc) = e1097930f577917d3583e425d9d2affa1c3dcaf2 SHA1 (patch-configure) = fdeae51f4390779dfd8df8471196e322cbb9ea3d SHA1 (patch-configure.ac) = b0291cf02351cbad9b0c7340baea9eb81cabb158 +SHA1 (patch-i18n_double-conversion-utils.h) = fb8f14bc60d572fa063aa4ed15bd034b43883699 SHA1 (patch-icudefs.mk.in) = c2a9469bf896b5f0702d5795c3b1c2b394893663 SHA1 (patch-runConfigureICU) = ee780dbe797c7230208f378f73a0bc4d215b1bb2 SHA1 (patch-tools-toolutil-pkg_genc.cpp) = 3cbcf3387d6a39315b26a3e2a2ffb715507e9110 diff --git a/textproc/icu/patches/patch-i18n_double-conversion-utils.h b/textproc/icu/patches/patch-i18n_double-conversion-utils.h new file mode 100644 index 00000000000..81acf9cff80 --- /dev/null +++ b/textproc/icu/patches/patch-i18n_double-conversion-utils.h @@ -0,0 +1,16 @@ +$NetBSD: patch-i18n_double-conversion-utils.h,v 1.1 2018/06/27 19:06:17 maya Exp $ + +Big endian is a thing and typically has the same behaviour with regards to float +sizes. + +--- i18n/double-conversion-utils.h.orig 2018-03-26 13:38:30.000000000 +0000 ++++ i18n/double-conversion-utils.h +@@ -77,7 +77,7 @@ inline void abort_noreturn() { abort(); + // On Linux,x86 89255e-22 != Div_double(89255.0/1e22) + // ICU PATCH: Enable ARM builds for Windows with 'defined(_M_ARM)'. + #if defined(_M_X64) || defined(__x86_64__) || \ +- defined(__ARMEL__) || defined(__avr32__) || defined(_M_ARM) || \ ++ defined(__ARMEL__) || defined(__ARMEB__) || defined(__avr32__) || defined(_M_ARM) || \ + defined(__hppa__) || defined(__ia64__) || \ + defined(__mips__) || \ + defined(__powerpc__) || defined(__ppc__) || defined(__ppc64__) || \ -- cgit v1.2.3