From ef5fc8045014f4ff0fb40fb6e93688836b45d165 Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Sat, 15 Nov 2014 00:22:36 +0100 Subject: [PATCH] Restore missing parts for proper Haiku port. * Some parts of the port were missing from configure.ac, which lead to problems when building libicudata.so. Actually, I have no idea how we were able to build working icu-54 packages at all, before. --- dev-libs/icu/patches/icu-54.1.patchset | 36 ++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/dev-libs/icu/patches/icu-54.1.patchset b/dev-libs/icu/patches/icu-54.1.patchset index 8d0974d3d..30c754a03 100644 --- a/dev-libs/icu/patches/icu-54.1.patchset +++ b/dev-libs/icu/patches/icu-54.1.patchset @@ -988,3 +988,39 @@ index 43b2d53..70802e4 100644 -- 1.8.3.4 + +From 18b95209cbdd8145d4d6b5fd89527b39d55f7012 Mon Sep 17 00:00:00 2001 +From: Oliver Tappe +Date: Fri, 14 Nov 2014 23:56:19 +0100 +Subject: [PATCH] Restore missing parts for proper Haiku port. + +* Actually set the platform to U_HAIKU for Haiku target. +* Use gcc to build icudt54l_dat.o for Haiku target. +--- + source/configure.ac | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/source/configure.ac b/source/configure.ac +index b30c8d0..b676bed 100644 +--- a/source/configure.ac ++++ b/source/configure.ac +@@ -626,7 +626,7 @@ AC_MSG_CHECKING([for genccode assembly]) + # Check to see if genccode can generate simple assembly. + GENCCODE_ASSEMBLY= + case "${host}" in +-*-linux*|*-kfreebsd*-gnu*|i*86-*-*bsd*|i*86-pc-gnu) ++*-linux*|*-kfreebsd*-gnu*|i*86-*-*bsd*|i*86-pc-gnu|*-haiku*) + if test "$GCC" = yes; then + # We're using gcc, and the simple -a gcc command line works for genccode + GENCCODE_ASSEMBLY="-a gcc" +@@ -1251,6 +1251,7 @@ case "${host}" in + *-*-nto*) platform=U_QNX ;; + *-dec-osf*) platform=U_OSF ;; + *-*-beos) platform=U_BEOS ;; ++ *-*-haiku*) platform=U_HAIKU ;; + *-*-irix*) platform=U_IRIX ;; + *-ncr-*) platform=U_MPRAS ;; + *) platform=U_UNKNOWN_PLATFORM ;; +-- +1.8.1.4 +