Fixed the prefix, and the patch so that icu now builds with gcc2 or gcc4

This commit is contained in:
Scott McCreary
2010-07-15 06:33:30 +00:00
parent 5655bc0588
commit 96080155a7
2 changed files with 14 additions and 1 deletions

View File

@@ -7,7 +7,7 @@ STATUS_HAIKU="stable"
DEPEND=""
BUILD {
cd icu/source
./configure
./configure --prefix=/boot/common
make
}

View File

@@ -261,6 +261,19 @@ diff -urN icu/source/i18n/uspoof_conf.cpp icu-haiku/source/i18n/uspoof_conf.cpp
int32_t lenL = sL->fStr->length();
int32_t lenR = sR->fStr->length();
if (lenL < lenR) {
diff -urN icu/source/io/unicode/ustream.h icu-haiku/source/io/unicode/ustream.h
--- icu/source/io/unicode/ustream.h 2010-04-28 15:27:52.022544384 +0000
+++ icu-haiku/source/io/unicode/ustream.h 2010-07-15 05:27:14.671350784 +0000
@@ -27,8 +27,7 @@
*/
#if U_IOSTREAM_SOURCE >= 199711
-#include <istream>
-#include <ostream>
+#include <iostream>
U_NAMESPACE_BEGIN
diff -urN icu/source/tools/gennorm2/n2builder.cpp icu-haiku/source/tools/gennorm2/n2builder.cpp
--- icu/source/tools/gennorm2/n2builder.cpp 2010-04-28 15:27:42.064225280 +0000
+++ icu-haiku/source/tools/gennorm2/n2builder.cpp 2010-07-14 15:50:05.000000000 +0000