summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.in2
-rw-r--r--icu/CVE-2011-4599.patch20
-rw-r--r--icu/arm-assembler.patch24
-rw-r--r--icu/icu4c-android.patch64
-rw-r--r--icu/icu4c-build.patch156
-rw-r--r--icu/icu4c-escapespace.patch11
-rw-r--r--icu/icu4c-parallel-buid.patch20
-rw-r--r--icu/icu4c-strict-c.patch11
-rw-r--r--icu/icu4c-warnings.patch11
-rw-r--r--icu/icu4c.8320.freeserif.crash.patch41
-rw-r--r--icu/icu4c.9313.cygwin.patch14
-rwxr-xr-xicu/icuversion.mk6
-rw-r--r--icu/makefile.mk40
-rw-r--r--jvmfwk/source/framework.cxx2
-rw-r--r--ooo.lst.in2
-rw-r--r--scp2/source/ooo/file_library_ooo.scp16
-rw-r--r--scp2/source/ooo/shortcut_ooo.scp8
17 files changed, 128 insertions, 320 deletions
diff --git a/configure.in b/configure.in
index 8032a679ead2..7ae43f394eac 100644
--- a/configure.in
+++ b/configure.in
@@ -7767,7 +7767,7 @@ else
AC_MSG_RESULT([internal])
SYSTEM_ICU="NO"
ICU_RECLASSIFIED_CLOSE_PARENTHESIS="YES"
- # ICU_RECLASSIFIED_PREPEND_SET_EMPTY not applied for our internal ICU 4.4.2
+ ICU_RECLASSIFIED_PREPEND_SET_EMPTY="YES"
BUILD_TYPE="$BUILD_TYPE ICU"
fi
diff --git a/icu/CVE-2011-4599.patch b/icu/CVE-2011-4599.patch
deleted file mode 100644
index fd8b12111c6b..000000000000
--- a/icu/CVE-2011-4599.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- misc/icu/source/source/common/uloc.c
-+++ misc/build/icu/source/common/uloc.c
-@@ -1797,7 +1797,7 @@
- int32_t variantLen = _deleteVariant(variant, uprv_min(variantSize, (nameCapacity-len)), variantToCompare, n);
- len -= variantLen;
- if (variantLen > 0) {
-- if (name[len-1] == '_') { /* delete trailing '_' */
-+ if (len > 0 && name[len-1] == '_') { /* delete trailing '_' */
- --len;
- }
- addKeyword = VARIANT_MAP[j].keyword;
-@@ -1805,7 +1805,7 @@
- break;
- }
- }
-- if (name[len-1] == '_') { /* delete trailing '_' */
-+ if (len > 0 && len <= nameCapacity && name[len-1] == '_') { /* delete trailing '_' */
- --len;
- }
- }
diff --git a/icu/arm-assembler.patch b/icu/arm-assembler.patch
deleted file mode 100644
index 752f9ad73f2f..000000000000
--- a/icu/arm-assembler.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-Index: icu-4.4.1/source/tools/toolutil/pkg_genc.c
-===================================================================
---- misc/icu/source/tools/toolutil/pkg_genc.c 2010-04-28 11:27:46.000000000 -0400
-+++ misc/build/icu/source/tools/toolutil/pkg_genc.c 2010-07-17 07:31:54.408752610 -0400
-@@ -1,5 +1,5 @@
- /******************************************************************************
-- * Copyright (C) 2009, International Business Machines
-+ * Copyright (C) 2009-2010, International Business Machines
- * Corporation and others. All Rights Reserved.
- *******************************************************************************
- */
-@@ -118,10 +118,10 @@
- } assemblyHeader[] = {
- {"gcc",
- ".globl %s\n"
-- "\t.section .note.GNU-stack,\"\",@progbits\n"
-+ "\t.section .note.GNU-stack,\"\",%%progbits\n"
- "\t.section .rodata\n"
- "\t.align 8\n" /* Either align 8 bytes or 2^8 (256) bytes. 8 bytes is needed. */
-- "\t.type %s,@object\n"
-+ "\t.type %s,%%object\n"
- "%s:\n\n",
-
- ".long ","",HEX_0X
diff --git a/icu/icu4c-android.patch b/icu/icu4c-android.patch
index f5b016e6e659..e6befb0d49c9 100644
--- a/icu/icu4c-android.patch
+++ b/icu/icu4c-android.patch
@@ -9,3 +9,67 @@
#SH# # We can't depend on MIDDLE_SO_TARGET being set.
#SH# LD_SONAME=
+--- misc/icu/source/configure
++++ misc/build/icu/source/configure
+@@ -5053,7 +5053,7 @@
+ else
+ icu_cv_host_frag=mh-linux-va
+ fi ;;
+-*-*-linux*|*-*-gnu|*-*-k*bsd*-gnu|*-*-kopensolaris*-gnu) icu_cv_host_frag=mh-linux ;;
++*-*-linux*|*-*-gnu|*-*-k*bsd*-gnu|*-*-kopensolaris*-gnu|*-*-*-androideabi*) icu_cv_host_frag=mh-linux ;;
+ *-*-cygwin|*-*-mingw32)
+ if test "$GCC" = yes; then
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+@@ -6127,6 +6127,9 @@
+ # Check to see if genccode can generate simple assembly.
+ GENCCODE_ASSEMBLY=
+ case "${host}" in
++*-*-linux-androideabi)
++ GENCCODE_ASSEMBLY="-a gcc-android"
++ ;;
+ *-linux*|*-kfreebsd*-gnu*|i*86-*-*bsd*|i*86-pc-gnu)
+ if test "$GCC" = yes; then
+ # We're using gcc, and the simple -a gcc command line works for genccode
+@@ -7200,6 +7203,10 @@
+ # wchar_t can be used
+ CHECK_UTF16_STRING_RESULT="available"
+ ;;
++*-*-*-androideabi*)
++ # no UTF-16 strings thanks, I think, this is to avoid the -std=c++0x which causes trouble with uint64_t
++ CHECK_UTF16_STRING_RESULT="nope"
++ ;;
+ *)
+ ;;
+ esac
+--- misc/icu/source/tools/toolutil/pkg_genc.c
++++ misc/build/icu/source/tools/toolutil/pkg_genc.c
+@@ -145,6 +145,28 @@
+
+ ".long ","",HEX_0X
+ },
++ {"gcc-android",
++ "\t.arch armv5te\n"
++ "\t.fpu softvfp\n"
++ "\t.eabi_attribute 20, 1\n"
++ "\t.eabi_attribute 21, 1\n"
++ "\t.eabi_attribute 23, 3\n"
++ "\t.eabi_attribute 24, 1\n"
++ "\t.eabi_attribute 25, 1\n"
++ "\t.eabi_attribute 26, 2\n"
++ "\t.eabi_attribute 30, 6\n"
++ "\t.eabi_attribute 18, 4\n"
++ "\t.file \"%s.s\"\n"
++ "\t.global %s\n"
++ "\t.section .rodata\n"
++ "\t.align 2\n"
++ "\t.type %s, %%object\n"
++ "%s:\n",
++
++ "\t.word ",
++ "\t.section .note.GNU-stack,\"\",%%progbits\n",
++ HEX_0X
++ },
+ {"sun",
+ "\t.section \".rodata\"\n"
+ "\t.align 8\n"
+
diff --git a/icu/icu4c-build.patch b/icu/icu4c-build.patch
index 46830be3946a..db2d441e1108 100644
--- a/icu/icu4c-build.patch
+++ b/icu/icu4c-build.patch
@@ -1,142 +1,41 @@
---- misc/icu/source/config.sub 2010-09-29 20:38:38.000000000 +0200
-+++ misc/build/icu/source/config.sub 2011-09-26 22:51:02.000000000 +0200
-@@ -120,7 +120,7 @@
- # Here we must recognize all the valid KERNEL-OS combinations.
- maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
- case $maybe_os in
-- nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
-+ nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
- uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
- storm-chaos* | os2-emx* | rtmk-nova*)
- os=-$maybe_os
-@@ -1250,7 +1250,7 @@
- | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
- | -chorusos* | -chorusrdb* \
- | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
-- | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
-+ | -mingw32* | -linux-gnu* | -linux-androideabi* | -linux-newlib* | -linux-uclibc* \
- | -uxpv* | -beos* | -mpeix* | -udk* \
- | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
- | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
---- misc/icu/source/configure
-+++ misc/build/icu/source/configure
-@@ -5438,7 +5438,7 @@
- else
- icu_cv_host_frag=mh-linux-va
- fi ;;
--*-*-linux*|*-pc-gnu) icu_cv_host_frag=mh-linux ;;
-+*-*-linux*|*-pc-gnu|*-*-*-androideabi*) icu_cv_host_frag=mh-linux ;;
- *-*-cygwin|*-*-mingw32)
- if test "$GCC" = yes; then
- cat >conftest.$ac_ext <<_ACEOF
-@@ -7429,6 +7429,9 @@
- # Check to see if genccode can generate simple assembly.
- GENCCODE_ASSEMBLY=
- case "${host}" in
-+*-*-linux-androideabi)
-+ GENCCODE_ASSEMBLY="-a gcc-android"
-+ ;;
- *-linux*|i*86-*-*bsd*|i*86-pc-gnu)
- if test "$GCC" = yes; then
- # We're using gcc, and the simple -a gcc command line works for genccode
-@@ -8001,8 +8001,9 @@
- # Check for potential -arch flags. It is not universal unless
- # there are some -arch flags. Note that *ppc* also matches
- # ppc64. This check is also rather less than ideal.
-+ # Huh? This breaks the ICU build on MacOSX 10.6 at least --tml@iki.fi
- case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in #(
-- *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;;
-+ # *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;;
- esac
- else
- $as_echo "$as_me: failed program was:" >&5
-@@ -11115,6 +1115,10 @@
- # wchar_t can be used
- CHECK_UTF16_STRING_RESULT="available"
- ;;
-+*-*-*-androideabi*)
-+ # no UTF-16 strings thanks, I think, this is to avoid the -std=c++0x which causes trouble with uint64_t
-+ CHECK_UTF16_STRING_RESULT="nope"
-+ ;;
- *)
- ;;
- esac
---- misc/icu/source/tools/toolutil/pkg_genc.c
-+++ misc/build/icu/source/tools/toolutil/pkg_genc.c
-@@ -145,6 +145,28 @@
-
- ".long ","",HEX_0X
- },
-+ {"gcc-android",
-+ "\t.arch armv5te\n"
-+ "\t.fpu softvfp\n"
-+ "\t.eabi_attribute 20, 1\n"
-+ "\t.eabi_attribute 21, 1\n"
-+ "\t.eabi_attribute 23, 3\n"
-+ "\t.eabi_attribute 24, 1\n"
-+ "\t.eabi_attribute 25, 1\n"
-+ "\t.eabi_attribute 26, 2\n"
-+ "\t.eabi_attribute 30, 6\n"
-+ "\t.eabi_attribute 18, 4\n"
-+ "\t.file \"%s.s\"\n"
-+ "\t.global %s\n"
-+ "\t.section .rodata\n"
-+ "\t.align 2\n"
-+ "\t.type %s, %%object\n"
-+ "%s:\n",
-+
-+ "\t.word ",
-+ "\t.section .note.GNU-stack,\"\",%%progbits\n",
-+ HEX_0X
-+ },
- {"sun",
- "\t.section \".rodata\"\n"
- "\t.align 8\n"
---- misc/icu/source/tools/pkgdata/pkgdata.cpp
-+++ misc/build/icu/source/tools/pkgdata/pkgdata.cpp
-@@ -97,7 +97,7 @@
+--- misc/icu/source/tools/toolutil/pkg_genc.h
++++ misc/build/icu/source/tools/toolutil/pkg_genc.h
+@@ -58,7 +58,7 @@
#endif
#define LARGE_BUFFER_MAX_SIZE 2048
-#define SMALL_BUFFER_MAX_SIZE 512
+#define SMALL_BUFFER_MAX_SIZE 2048
-
- static void loadLists(UPKGOptions *o, UErrorCode *status);
-
---- misc/icu/source/common/putil.c 2010-09-29 20:37:22.000000000 +0200
-+++ misc/build/icu/source/common/putil.c 2011-03-15 10:58:44.054592942 +0100
-@@ -52,7 +52,7 @@
- Poorly upgraded Solaris machines can't have this defined.
- Cleanly installed Solaris can use this #define.
- */
--#if !defined(_XOPEN_SOURCE_EXTENDED) && (!defined(__STDC_VERSION__) || __STDC_VERSION__ >= 199901L)
-+#if !defined(_XOPEN_SOURCE_EXTENDED) && (!defined(__STDC_VERSION__) || __STDC_VERSION__ < 199901L)
- #define _XOPEN_SOURCE_EXTENDED 1
- #endif
+ #define SMALL_BUFFER_FLAG_NAMES 32
+ #define BUFFER_PADDING_SIZE 20
--- misc/icu/source/common/stringpiece.cpp 2010-09-29 20:37:20.000000000 +0200
+++ misc/build/icu/source/common/stringpiece.cpp 2011-03-15 10:57:24.722045561 +0100
-@@ -71,7 +71,7 @@
+@@ -75,7 +75,7 @@
* Visual Studios 9.0.
* Cygwin with MSVC 9.0 also complains here about redefinition.
*/
--#if (!defined(_MSC_VER) || (_MSC_VER >= 1500)) && !defined(CYGWINMSVC)
+-#if (!defined(_MSC_VER) || (_MSC_VER > 1500)) && !defined(CYGWINMSVC)
+#if (!defined(_MSC_VER) && !defined(CYGWINMSVC))
const int32_t StringPiece::npos;
#endif
--- misc/icu/source/config/mh-darwin 2010-09-29 20:37:36.000000000 +0200
+++ misc/build/icu/source/config/mh-darwin 2011-03-15 10:56:26.653056004 +0100
-@@ -25,7 +25,7 @@
+@@ -25,11 +25,7 @@
SHLIB.cc= $(CXX) -dynamiclib -dynamic $(CXXFLAGS) $(LDFLAGS) $(LD_SOOPTIONS)
## Compiler switches to embed a library name and version information
+-ifeq ($(ENABLE_RPATH),YES)
+-LD_SONAME = -Wl,-compatibility_version -Wl,$(SO_TARGET_VERSION_MAJOR) -Wl,-current_version -Wl,$(SO_TARGET_VERSION) -install_name $(libdir)/$(notdir $(MIDDLE_SO_TARGET))
+-else
-LD_SONAME = -Wl,-compatibility_version -Wl,$(SO_TARGET_VERSION_MAJOR) -Wl,-current_version -Wl,$(SO_TARGET_VERSION) -install_name $(notdir $(MIDDLE_SO_TARGET))
+-endif
+LD_SONAME = -Wl,-compatibility_version -Wl,$(SO_TARGET_VERSION_MAJOR) -Wl,-current_version -Wl,$(SO_TARGET_VERSION) -install_name @executable_path/$(notdir $(MIDDLE_SO_TARGET))
## Compiler switch to embed a runtime search path
LD_RPATH=
-@@ -41,10 +41,6 @@
+@@ -45,10 +41,6 @@
## Non-shared intermediate object suffix
STATIC_O = ao
@@ -147,7 +46,7 @@
## Compilation rules
%.$(STATIC_O): $(srcdir)/%.c
$(COMPILE.c) $(STATICCPPFLAGS) $(STATICCFLAGS) -o $@ $<
-@@ -76,16 +72,10 @@
+@@ -80,16 +72,10 @@
## Versioned libraries rules
@@ -181,33 +80,6 @@
## These are the library specific LDFLAGS
LDFLAGSICUDT=-nodefaultlibs -nostdlib
---- misc/icu/source/config/mh-solaris 2010-09-29 20:37:36.000000000 +0200
-+++ misc/build/icu/source/config/mh-solaris 2011-03-15 11:01:04.370475053 +0100
-@@ -36,17 +36,21 @@
-
- ## Commands to link
- ## For Sun Workshop, use CC to link to bring in C++ runtime
--LINK.c= $(CXX) $(CXXFLAGS) $(LDFLAGS)
--LINK.cc= $(CXX) $(CXXFLAGS) $(LDFLAGS)
-+LINK.c= $(CXX) $(CXXFLAGS) $(LDFLAGS) -norunpath
-+LINK.cc= $(CXX) $(CXXFLAGS) $(LDFLAGS) -norunpath
-
- ## Commands to make a shared library
- SHLIB.c= $(CC) $(CFLAGS) $(LDFLAGS) -G
--SHLIB.cc= $(CXX) $(CXXFLAGS) $(LDFLAGS) -G
-+SHLIB.cc= $(CXX) $(CXXFLAGS) $(LDFLAGS) -G -norunpath
-
- ## Compiler switch to embed a runtime search path
- LD_RPATH= -R'$$'ORIGIN
- LD_RPATH_PRE= -R
-
-+## Force RPATH=$ORIGIN to locate own dependencies w/o need for LD_LIBRARY_PATH
-+ENABLE_RPATH=YES
-+RPATHLDFLAGS=${LD_RPATH}'$$ORIGIN'
-+
- #LIBRARY_PATH_PREFIX=/usr/lib/lwp:
-
- ## Compiler switch to embed a library name
--- misc/icu/source/layout/ArabicShaping.cpp 2010-09-29 20:38:38.000000000 +0200
+++ misc/build/icu/source/layout/ArabicShaping.cpp 2011-03-15 10:56:26.655056238 +0100
@@ -79,7 +79,6 @@
diff --git a/icu/icu4c-escapespace.patch b/icu/icu4c-escapespace.patch
deleted file mode 100644
index 89c191ae0af6..000000000000
--- a/icu/icu4c-escapespace.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- misc/icu/source/tools/icuinfo/Makefile.in 2011-03-15 21:41:25.647780036 +0000
-+++ misc/build/icu/source/tools/icuinfo/Makefile.in 2011-03-15 21:41:25.647780036 +0000
-@@ -36,7 +36,7 @@
-
- ICUINFO_OPTS=-i ../../data/out/build/$(ICUDATA_PLATFORM_NAME)
-
--CPPFLAGS+= -DU_PLATFORM=\"@platform@\" -DU_BUILD=\"@build@\" -DU_HOST=\"@host@\" -DU_CC=\"@CC@\" -DU_CXX=\"@CXX@\"
-+CPPFLAGS+= -DU_PLATFORM="\"@platform@\"" -DU_BUILD="\"@build@\"" -DU_HOST="\"@host@\"" -DU_CC="\"@CC@\"" -DU_CXX="\"@CXX@\""
- # -DENABLE_RELEASE=@ENABLE_RELEASE@ -DENABLE_DEBUG=@ENABLE_DEBUG@ "
-
-
diff --git a/icu/icu4c-parallel-buid.patch b/icu/icu4c-parallel-buid.patch
deleted file mode 100644
index 3f338693bc95..000000000000
--- a/icu/icu4c-parallel-buid.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- misc/build/icu/source/extra/uconv/Makefile.in.sav 2010-09-29 20:37:14.000000000 +0200
-+++ misc/build/icu/source/extra/uconv/Makefile.in 2011-10-19 01:12:22.000000000 +0200
-@@ -147,7 +147,7 @@ $(UCONVMSG_LIB): resfiles
- endif
-
-
--package-resfiles: $(RESDIR)/$(RESDIR).lst pkgdata.inc
-+package-resfiles: $(RESFILES) $(RESDIR)/$(RESDIR).lst pkgdata.inc
- $(INVOKE) $(PKGDATA_INVOKE_OPTS) $(TOOLBINDIR)/pkgdata -p $(MSGNAME) $(PKGDATA_OPTS) -m $(PKGMODE) -s $(RESDIR) -d $(RESDIR) -T $(RESDIR) $(RESDIR)/$(RESDIR).lst
-
- $(RESDIR)/$(RESDIR).lst: Makefile $(srcdir)/resfiles.mk
-@@ -159,7 +159,7 @@ $(RESDIR)/$(RESDIR).lst: Makefile $(srcd
-
- # no install for static mode
- ifneq ($(UCONVMSG_MODE),static)
--install-resfiles: $(RESFILES)
-+install-resfiles: $(RESFILES) $(RESDIR)/$(RESDIR).lst pkgdata.inc
- $(MKINSTALLDIRS) $(DESTDIR)$(ICUDATA_DIR)
- $(INVOKE) $(TOOLBINDIR)/pkgdata -p $(RESDIR) -O pkgdata.inc -m $(PKGMODE) -d $(RESDIR) -I $(INSTALLTO) -T $(RESDIR) $(RESDIR)/$(RESDIR).lst
- else
diff --git a/icu/icu4c-strict-c.patch b/icu/icu4c-strict-c.patch
deleted file mode 100644
index 0f1ff9a44808..000000000000
--- a/icu/icu4c-strict-c.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- misc/build/icu/source/common/wintz.c.orig 2011-08-19 17:13:10.000000000 +0200
-+++ misc/build/icu/source/common/wintz.c 2011-08-19 17:13:35.000000000 +0200
-@@ -113,7 +113,7 @@ static int32_t detectWindowsType()
- }
- }
-
-- return winType+1; // +1 to bring it inline with the enum
-+ return winType+1; /* +1 to bring it inline with the enum */
- }
-
- static LONG openTZRegKey(HKEY *hkey, const char *winid)
diff --git a/icu/icu4c-warnings.patch b/icu/icu4c-warnings.patch
index e484b59a6c69..8ac632c42c6c 100644
--- a/icu/icu4c-warnings.patch
+++ b/icu/icu4c-warnings.patch
@@ -1,14 +1,3 @@
---- misc/icu/source/common/unicode/stringpiece.h
-+++ misc/build/icu/source/common/unicode/stringpiece.h
-@@ -140,7 +140,7 @@
- * @param len the length of the new data
- * @internal
- */
-- void set(const char* data, int32_t len) { ptr_ = data; length_ = len; }
-+ void set(const char* data_, int32_t len) { ptr_ = data_; length_ = len; }
-
- /**
- * Reset the stringpiece to refer to new data.
--- misc/icu/source/common/unicode/
+++ misc/build/icu/source/common/unicode/utf16.h
@@ -316,6 +316,7 @@
diff --git a/icu/icu4c.8320.freeserif.crash.patch b/icu/icu4c.8320.freeserif.crash.patch
index 32e851c36d36..2d181d32fd41 100644
--- a/icu/icu4c.8320.freeserif.crash.patch
+++ b/icu/icu4c.8320.freeserif.crash.patch
@@ -1,26 +1,5 @@
---- misc/icu/source/layout/LookupProcessor.h 2011-02-03 09:20:27.657005678 +0000
-+++ misc/build/icu/source/layout/LookupProcessor.h 2011-02-03 09:25:34.498396208 +0000
-@@ -65,6 +65,7 @@
- const FeatureListTable *featureListTable;
-
- FeatureMask *lookupSelectArray;
-+ le_uint32 lookupSelectCount;
-
- le_uint16 *lookupOrderArray;
- le_uint32 lookupOrderCount;
--- misc/icu/source/layout/LookupProcessor.cpp 2011-02-02 12:29:54.369077099 +0000
+++ misc/build/icu/source/layout/LookupProcessor.cpp 2011-02-02 12:31:54.215503036 +0000
-@@ -70,6 +70,10 @@
-
- if (selectMask != 0) {
- const LookupTable *lookupTable = lookupListTable->getLookupTable(lookup);
-+
-+ if (!lookupTable)
-+ continue;
-+
- le_uint16 lookupFlags = SWAPW(lookupTable->lookupFlags);
-
- glyphIterator.reset(lookupFlags, selectMask);
@@ -111,6 +115,9 @@
for (le_uint16 lookup = 0; lookup < lookupCount; lookup += 1) {
le_uint16 lookupListIndex = SWAPW(featureTable->lookupListIndexArray[lookup]);
@@ -31,15 +10,6 @@
lookupSelectArray[lookupListIndex] |= featureMask;
lookupOrderArray[store++] = lookupListIndex;
}
-@@ -122,7 +129,7 @@
- Offset scriptListOffset, Offset featureListOffset, Offset lookupListOffset,
- LETag scriptTag, LETag languageTag, const FeatureMap *featureMap, le_int32 featureMapCount, le_bool orderFeatures,
- LEErrorCode& success)
-- : lookupListTable(NULL), featureListTable(NULL), lookupSelectArray(NULL),
-+ : lookupListTable(NULL), featureListTable(NULL), lookupSelectArray(NULL), lookupSelectCount(0),
- lookupOrderArray(NULL), lookupOrderCount(0)
- {
- const ScriptListTable *scriptListTable = NULL;
@@ -170,6 +177,8 @@
lookupSelectArray[i] = 0;
}
@@ -49,14 +19,3 @@
le_int32 count, order = 0;
le_int32 featureReferences = 0;
const FeatureTable *featureTable = NULL;
-@@ -186,6 +195,10 @@
- le_uint16 featureIndex = SWAPW(langSysTable->featureIndexArray[feature]);
-
- featureTable = featureListTable->getFeatureTable(featureIndex, &featureTag);
-+
-+ if (!featureTable)
-+ continue;
-+
- featureReferences += SWAPW(featureTable->lookupCount);
- }
-
diff --git a/icu/icu4c.9313.cygwin.patch b/icu/icu4c.9313.cygwin.patch
new file mode 100644
index 000000000000..666f6757a6be
--- /dev/null
+++ b/icu/icu4c.9313.cygwin.patch
@@ -0,0 +1,14 @@
+--- misc/icu/source/icudefs.mk.in
++++ misc/build/icu/source/icudefs.mk.in
+@@ -266,9 +266,9 @@
+ include @platform_make_fragment@
+
+ # Current full path directory.
+-CURR_FULL_DIR=$(shell pwd | sed 's/ /\\ /g')
++CURR_FULL_DIR?=$(shell pwd | sed 's/ /\\ /g')
+ # Current full path directory for use in source code in a -D compiler option.
+-CURR_SRCCODE_FULL_DIR=$(shell pwd | sed 's/ /\\ /')
++CURR_SRCCODE_FULL_DIR?=$(shell pwd | sed 's/ /\\ /')
+
+ # When shared libraries are disabled and static libraries are enabled,
+ # the C++ compiler must be used to link in the libraries for the tools.
diff --git a/icu/icuversion.mk b/icu/icuversion.mk
index fbadd7466972..ddc7104409b0 100755
--- a/icu/icuversion.mk
+++ b/icu/icuversion.mk
@@ -26,13 +26,13 @@
#*************************************************************************
# major
.IF "$(ICU_MAJOR)" == ""
-ICU_MAJOR=4
+ICU_MAJOR=49
.ENDIF
# minor
.IF "$(ICU_MINOR)" == ""
-ICU_MINOR=4
+ICU_MINOR=1
.ENDIF
# micro
.IF "$(ICU_MICRO)" == ""
-ICU_MICRO=2
+ICU_MICRO=1
.ENDIF
diff --git a/icu/makefile.mk b/icu/makefile.mk
index 47ba1e4669a0..0022376a8a0e 100644
--- a/icu/makefile.mk
+++ b/icu/makefile.mk
@@ -37,8 +37,8 @@ TARGET=so_icu
.INCLUDE : icuversion.mk
-TARFILE_NAME=icu4c-4_4_2-src
-TARFILE_MD5=314e582264c36b3735466c522899aa07
+TARFILE_NAME=icu4c-49_1_1-src
+TARFILE_MD5=7c53f83e0327343f4060c0eb83842daf
TARFILE_ROOTDIR=icu
#icu4c.8320.freeserif.crash.patch, see
@@ -51,11 +51,7 @@ PATCH_FILES=\
icu4c-aix.patch \
icu4c-wchar_t.patch \
icu4c-warnings.patch \
- icu4c-escapespace.patch \
- icu4c-strict-c.patch \
- CVE-2011-4599.patch \
- arm-assembler.patch \
- icu4c-parallel-buid.patch
+ icu4c.9313.cygwin.patch \
.IF "$(OS)"=="ANDROID"
PATCH_FILES+=\
@@ -184,20 +180,20 @@ OUT2LIB= \
$(BUILD_DIR)$/lib$/libicutulo.so
.ELSE
OUT2LIB= \
- $(BUILD_DIR)$/lib$/libicudata$(DLLPOST).$(ICU_MAJOR)$(ICU_MINOR).$(ICU_MICRO) \
- $(BUILD_DIR)$/lib$/libicudata$(DLLPOST).$(ICU_MAJOR)$(ICU_MINOR) \
+ $(BUILD_DIR)$/lib$/libicudata$(DLLPOST).$(ICU_MAJOR).$(ICU_MINOR).$(ICU_MICRO) \
+ $(BUILD_DIR)$/lib$/libicudata$(DLLPOST).$(ICU_MAJOR) \
$(BUILD_DIR)$/lib$/libicudata$(DLLPOST) \
- $(BUILD_DIR)$/lib$/libicuuc$(DLLPOST).$(ICU_MAJOR)$(ICU_MINOR).$(ICU_MICRO) \
- $(BUILD_DIR)$/lib$/libicuuc$(DLLPOST).$(ICU_MAJOR)$(ICU_MINOR) \
+ $(BUILD_DIR)$/lib$/libicuuc$(DLLPOST).$(ICU_MAJOR).$(ICU_MINOR).$(ICU_MICRO) \
+ $(BUILD_DIR)$/lib$/libicuuc$(DLLPOST).$(ICU_MAJOR) \
$(BUILD_DIR)$/lib$/libicuuc$(DLLPOST) \
- $(BUILD_DIR)$/lib$/libicui18n$(DLLPOST).$(ICU_MAJOR)$(ICU_MINOR).$(ICU_MICRO) \
- $(BUILD_DIR)$/lib$/libicui18n$(DLLPOST).$(ICU_MAJOR)$(ICU_MINOR) \
+ $(BUILD_DIR)$/lib$/libicui18n$(DLLPOST).$(ICU_MAJOR).$(ICU_MINOR).$(ICU_MICRO) \
+ $(BUILD_DIR)$/lib$/libicui18n$(DLLPOST).$(ICU_MAJOR) \
$(BUILD_DIR)$/lib$/libicui18n$(DLLPOST) \
- $(BUILD_DIR)$/lib$/libicule$(DLLPOST).$(ICU_MAJOR)$(ICU_MINOR).$(ICU_MICRO) \
- $(BUILD_DIR)$/lib$/libicule$(DLLPOST).$(ICU_MAJOR)$(ICU_MINOR) \
+ $(BUILD_DIR)$/lib$/libicule$(DLLPOST).$(ICU_MAJOR).$(ICU_MINOR).$(ICU_MICRO) \
+ $(BUILD_DIR)$/lib$/libicule$(DLLPOST).$(ICU_MAJOR) \
$(BUILD_DIR)$/lib$/libicule$(DLLPOST) \
- $(BUILD_DIR)$/lib$/libicutu$(DLLPOST).$(ICU_MAJOR)$(ICU_MINOR).$(ICU_MICRO) \
- $(BUILD_DIR)$/lib$/libicutu$(DLLPOST).$(ICU_MAJOR)$(ICU_MINOR) \
+ $(BUILD_DIR)$/lib$/libicutu$(DLLPOST).$(ICU_MAJOR).$(ICU_MINOR).$(ICU_MICRO) \
+ $(BUILD_DIR)$/lib$/libicutu$(DLLPOST).$(ICU_MAJOR) \
$(BUILD_DIR)$/lib$/libicutu$(DLLPOST)
OUT2BIN_NONE= \
@@ -267,11 +263,11 @@ OUT2LIB= \
$(BUILD_DIR)$/lib$/icutu$(ICU_BUILD_LIBPOST).lib
OUT2BIN= \
- $(BUILD_DIR)$/lib$/icudt$(ICU_MAJOR)$(ICU_MINOR).dll \
- $(BUILD_DIR)$/lib$/icuin$(ICU_MAJOR)$(ICU_MINOR)$(ICU_BUILD_LIBPOST).dll \
- $(BUILD_DIR)$/lib$/icuuc$(ICU_MAJOR)$(ICU_MINOR)$(ICU_BUILD_LIBPOST).dll \
- $(BUILD_DIR)$/lib$/icule$(ICU_MAJOR)$(ICU_MINOR)$(ICU_BUILD_LIBPOST).dll \
- $(BUILD_DIR)$/lib$/icutu$(ICU_MAJOR)$(ICU_MINOR)$(ICU_BUILD_LIBPOST).dll \
+ $(BUILD_DIR)$/lib$/icudt$(ICU_MAJOR).dll \
+ $(BUILD_DIR)$/lib$/icuin$(ICU_MAJOR)$(ICU_BUILD_LIBPOST).dll \
+ $(BUILD_DIR)$/lib$/icuuc$(ICU_MAJOR)$(ICU_BUILD_LIBPOST).dll \
+ $(BUILD_DIR)$/lib$/icule$(ICU_MAJOR)$(ICU_BUILD_LIBPOST).dll \
+ $(BUILD_DIR)$/lib$/icutu$(ICU_MAJOR)$(ICU_BUILD_LIBPOST).dll \
$(BUILD_DIR)$/bin$/genccode.exe \
$(BUILD_DIR)$/bin$/genbrk.exe \
$(BUILD_DIR)$/bin$/gencmn.exe
diff --git a/jvmfwk/source/framework.cxx b/jvmfwk/source/framework.cxx
index 743bc8a62c55..0099cc8c285c 100644
--- a/jvmfwk/source/framework.cxx
+++ b/jvmfwk/source/framework.cxx
@@ -401,7 +401,7 @@ javaFrameworkError SAL_CALL jfw_startVM(JavaVMOption *arOptions, sal_Int32 cOpti
//start Java
JavaVM *pVm = NULL;
- SAL_WARN("jvmfwk", "starting java");
+ SAL_INFO("jvmfwk", "starting java");
javaPluginError plerr = (*pFunc)(aInfo, arOpt, index, & pVm, ppEnv);
if (plerr == JFW_PLUGIN_E_VM_CREATION_FAILED)
{
diff --git a/ooo.lst.in b/ooo.lst.in
index ac836591d119..046220b24aa4 100644
--- a/ooo.lst.in
+++ b/ooo.lst.in
@@ -75,7 +75,7 @@ d7a242ca43e33e1b63d3073f9d46a6a8-librsvg-2.32.1.tar.gz
9e5d864bce8f06751bbd99962ecf4aad-libpng-1.5.10.tar.gz
a2c10c04f396a9ce72894beb18b4e1f9-jpeg-8c.tar.gz
c735eab2d659a96e5a594c9e8541ad63-zlib-1.2.5.tar.gz
-314e582264c36b3735466c522899aa07-icu4c-4_4_2-src.tgz
+7c53f83e0327343f4060c0eb83842daf-icu4c-49_1_1-src.tgz
451ccf439a36a568653b024534669971-ConvertTextToNumber-1.3.2.oxt
b99fb620b1324b4ce79ee6998b507146-JLanguageTool-1.4.0.tar.bz2
0f63ee487fda8f21fafa767b3c447ac9-ixion-0.2.0.tar.gz
diff --git a/scp2/source/ooo/file_library_ooo.scp b/scp2/source/ooo/file_library_ooo.scp
index 83f125eddc8a..e3ae2390fc30 100644
--- a/scp2/source/ooo/file_library_ooo.scp
+++ b/scp2/source/ooo/file_library_ooo.scp
@@ -704,9 +704,9 @@ End
File gid_File_Lib_Icudata
LIB_FILE_BODY;
#ifdef UNX
- Name = STRING(CONCAT7(libicudata,UNXSUFFIX,.,ICU_MAJOR,ICU_MINOR,.,ICU_MICRO));
+ Name = STRING(CONCAT8(libicudata,UNXSUFFIX,.,ICU_MAJOR,.,ICU_MINOR,.,ICU_MICRO));
#else
- Name = STRING(CONCAT4(icudt,ICU_MAJOR,ICU_MINOR,.dll));
+ Name = STRING(CONCAT3(icudt,ICU_MAJOR,.dll));
#endif
Dir = SCP2_OOO_BIN_DIR;
Styles = (PACKED);
@@ -715,9 +715,9 @@ End
File gid_File_Lib_Icui18n
LIB_FILE_BODY;
#ifdef UNX
- Name = STRING(CONCAT7(libicui18n,UNXSUFFIX,.,ICU_MAJOR,ICU_MINOR,.,ICU_MICRO));
+ Name = STRING(CONCAT8(libicui18n,UNXSUFFIX,.,ICU_MAJOR,.,ICU_MINOR,.,ICU_MICRO));
#else
- Name = STRING(CONCAT4(icuin,ICU_MAJOR,ICU_MINOR,.dll));
+ Name = STRING(CONCAT3(icuin,ICU_MAJOR,.dll));
#endif
Dir = SCP2_OOO_BIN_DIR;
Styles = (PACKED);
@@ -726,9 +726,9 @@ End
File gid_File_Lib_Icule
LIB_FILE_BODY;
#ifdef UNX
- Name = STRING(CONCAT7(libicule,UNXSUFFIX,.,ICU_MAJOR,ICU_MINOR,.,ICU_MICRO));
+ Name = STRING(CONCAT8(libicule,UNXSUFFIX,.,ICU_MAJOR,.,ICU_MINOR,.,ICU_MICRO));
#else
- Name = STRING(CONCAT4(icule,ICU_MAJOR,ICU_MINOR,.dll));
+ Name = STRING(CONCAT3(icule,ICU_MAJOR,.dll));
#endif
Dir = SCP2_OOO_BIN_DIR;
Styles = (PACKED);
@@ -737,9 +737,9 @@ End
File gid_File_Lib_Icuuc
LIB_FILE_BODY;
#ifdef UNX
- Name = STRING(CONCAT7(libicuuc,UNXSUFFIX,.,ICU_MAJOR,ICU_MINOR,.,ICU_MICRO));
+ Name = STRING(CONCAT8(libicuuc,UNXSUFFIX,.,ICU_MAJOR,.,ICU_MINOR,.,ICU_MICRO));
#else
- Name = STRING(CONCAT4(icuuc,ICU_MAJOR,ICU_MINOR,.dll));
+ Name = STRING(CONCAT3(icuuc,ICU_MAJOR,.dll));
#endif
Dir = SCP2_OOO_BIN_DIR;
Styles = (PACKED);
diff --git a/scp2/source/ooo/shortcut_ooo.scp b/scp2/source/ooo/shortcut_ooo.scp
index a70c225d1db5..0df44d301f75 100644
--- a/scp2/source/ooo/shortcut_ooo.scp
+++ b/scp2/source/ooo/shortcut_ooo.scp
@@ -34,7 +34,7 @@ Shortcut gid_Shortcut_Lib_Icudata
FileID = gid_File_Lib_Icudata;
Dir = SCP2_OOO_BIN_DIR;
#ifndef AIX
- Name = STRING(CONCAT5(libicudata,UNXSUFFIX,.,ICU_MAJOR,ICU_MINOR));
+ Name = STRING(CONCAT4(libicudata,UNXSUFFIX,.,ICU_MAJOR));
#else
Name = "libicudata.so";
#endif
@@ -45,7 +45,7 @@ Shortcut gid_Shortcut_Lib_Icui18n
FileID = gid_File_Lib_Icui18n;
Dir = SCP2_OOO_BIN_DIR;
#ifndef AIX
- Name = STRING(CONCAT5(libicui18n,UNXSUFFIX,.,ICU_MAJOR,ICU_MINOR));
+ Name = STRING(CONCAT4(libicui18n,UNXSUFFIX,.,ICU_MAJOR));
#else
Name = "libicui18n.so";
#endif
@@ -56,7 +56,7 @@ Shortcut gid_Shortcut_Lib_Icule
FileID = gid_File_Lib_Icule;
Dir = SCP2_OOO_BIN_DIR;
#ifndef AIX
- Name = STRING(CONCAT5(libicule,UNXSUFFIX,.,ICU_MAJOR,ICU_MINOR));
+ Name = STRING(CONCAT4(libicule,UNXSUFFIX,.,ICU_MAJOR));
#else
Name = "libicule.so";
#endif
@@ -67,7 +67,7 @@ Shortcut gid_Shortcut_Lib_Icuuc
FileID = gid_File_Lib_Icuuc;
Dir = SCP2_OOO_BIN_DIR;
#ifndef AIX
- Name = STRING(CONCAT5(libicuuc,UNXSUFFIX,.,ICU_MAJOR,ICU_MINOR));
+ Name = STRING(CONCAT4(libicuuc,UNXSUFFIX,.,ICU_MAJOR));
#else
Name = "libicuuc.so";
#endif