summaryrefslogtreecommitdiff
path: root/textproc/icu/patches/patch-ab
diff options
context:
space:
mode:
authorskrll <skrll@pkgsrc.org>2000-12-21 18:14:18 +0000
committerskrll <skrll@pkgsrc.org>2000-12-21 18:14:18 +0000
commit9a78207a16107f8a4c62821bac9484e434c9b9e9 (patch)
tree872a411dd583e8295081dc63a3452dc1ed548c73 /textproc/icu/patches/patch-ab
parente0ea3850b07ec22c286c8a97dd22b28e4ca7b6f8 (diff)
downloadpkgsrc-9a78207a16107f8a4c62821bac9484e434c9b9e9.tar.gz
Update to version 1.7. Changes are (from the web page)
Collation performance is improved. The collation implementation will continue to change for ICU 1.8 according to the collation design document. Improved performance of parsing and formatting of dates and numbers Improvements in the ISO-2022 implementation Bug fixes, more stable, and support for standard country variants: ISO-2022-JP (incl. -1, -2) ISO-2022-CN (incl. -EXT) ISO-2022-KR Support for GB 18030 Basic support for UTF-32 (no ucnv_getNextUChar(), incomplete offset handling) Support for the HZ encoding Converter fallback semantics modified and .ucm mapping files updated with precise roundtrip/fallback indicators ICU library names include the version number for better coexistence of different installed ICU versions on a single machine The code libraries contain the two major/minor version digits On Windows, they also contain a 'd' for the debug versions The icu data file contains the ICU version and a letter for the data configuration (ASCII/EBCDIC, big-endian/little-endian) ICU client code links with .lib files/object symlinks without the version number for easier future updates Debian packaging The API documentation is improved.
Diffstat (limited to 'textproc/icu/patches/patch-ab')
-rw-r--r--textproc/icu/patches/patch-ab57
1 files changed, 11 insertions, 46 deletions
diff --git a/textproc/icu/patches/patch-ab b/textproc/icu/patches/patch-ab
index 1dc36e8ec81..4502585e65c 100644
--- a/textproc/icu/patches/patch-ab
+++ b/textproc/icu/patches/patch-ab
@@ -1,48 +1,13 @@
-$NetBSD: patch-ab,v 1.1.1.1 2000/12/20 18:28:06 skrll Exp $
+$NetBSD: patch-ab,v 1.2 2000/12/21 18:14:18 skrll Exp $
---- common/putil.c.orig Fri Aug 11 21:36:52 2000
-+++ common/putil.c
-@@ -86,7 +86,7 @@
- # include <Script.h>
- #elif defined(AIX)
- # include <sys/ldr.h>
--#elif defined(U_SOLARIS) || defined(U_LINUX)
-+#elif defined(U_SOLARIS) || defined(U_LINUX) /* || defined(U_NETBSD) */
- # include <dlfcn.h>
- # include <link.h>
- #elif defined(HPUX)
-@@ -686,7 +686,7 @@
- int32_t
- uprv_timezone()
- {
--#if defined(U_POSIX)
-+#if defined(U_POSIX) && !defined(U_NETBSD)
- #if defined(OS390)
- return _timezone;
- #else
-@@ -694,7 +694,7 @@
- #endif
- #endif
+--- common/unicode/platform.h.in.orig Tue Oct 17 23:50:27 2000
++++ common/unicode/platform.h.in
+@@ -178,7 +178,7 @@
+ #define U_NL_LANGINFO_CODESET @U_NL_LANGINFO_CODESET@
--#if defined(OS400) || defined(XP_MAC) || defined(U_DARWIN)
-+#if defined(OS400) || defined(XP_MAC) || defined(U_DARWIN) || defined(U_NETBSD)
- time_t t, t1, t2;
- struct tm tmrec;
- UBool dst_checked;
-@@ -989,6 +989,7 @@
- # elif defined(XP_MAC)
- # elif defined(U_SOLARIS)
- # elif defined(U_LINUX)
-+# elif defined(U_NETBSD)
- # define LIB_PATH_VAR "LD_LIBRARY_PATH"
- # define LIB_FILENAME "libicuuc.so"
- # elif defined(AIX)
-@@ -1578,7 +1579,7 @@
- {
- uprv_memset(codesetName, 0, 100);
- }
--#if U_HAVE_NL_LANGINFO
-+#if defined(U_HAVE_NL_LANGINFO) && !defined(U_NETBSD)
- #ifdef U_LINUX
- if (nl_langinfo(_NL_CTYPE_CODESET_NAME) != NULL)
- uprv_strcpy(codesetName, nl_langinfo(_NL_CTYPE_CODESET_NAME));
+ #define U_TZSET @U_TZSET@
+-#define U_TIMEZONE @U_TIMEZONE@
++#undef U_TIMEZONE
+ #define U_TZNAME @U_TZNAME@
+
+ /*===========================================================================*/