PKGBUILDs/extra/libreoffice-still/icudata-stdlibs.patch

30 lines
1.4 KiB
Diff
Raw Normal View History

2014-04-19 20:17:29 +00:00
diff -urN a/external/icu/icudata-stdlibs.patch b/external/icu/icudata-stdlibs.patch
--- a/external/icu/icudata-stdlibs.patch 1969-12-31 17:00:00.000000000 -0700
2014-12-13 00:19:57 +00:00
+++ b/external/icu/icudata-stdlibs.patch 2014-12-12 17:15:38.356606308 -0700
2014-04-19 20:17:29 +00:00
@@ -0,0 +1,14 @@
+diff -urN a/source/config/mh-linux b/source/config/mh-linux
+--- misc/icu/source/config/mh-linux 2010-09-29 20:37:36.000000000 +0200
++++ misc/build/icu/source/config/mh-linux 2011-03-15 10:56:26.653056004 +0100
+@@ -26,7 +26,9 @@
+ RPATHLDFLAGS=${LD_RPATH_PRE}'$$ORIGIN:$$ORIGIN/../ure-link/lib'
+
+ ## These are the library specific LDFLAGS
+-LDFLAGSICUDT=-nodefaultlibs -nostdlib
++#LDFLAGSICUDT=-nodefaultlibs -nostdlib
++# Debian change: linking icudata as data only causes too many problems.
++LDFLAGSICUDT=
+
+ ## Compiler switch to embed a library name
+ # The initial tab in the next line is to prevent icu-config from reading it.
diff -urN a/external/icu/UnpackedTarball_icu.mk b/external/icu/UnpackedTarball_icu.mk
2014-12-13 00:19:57 +00:00
--- a/external/icu/UnpackedTarball_icu.mk 2014-12-03 12:26:43.000000000 -0700
+++ b/external/icu/UnpackedTarball_icu.mk 2014-12-12 17:15:38.356606308 -0700
2014-04-19 20:17:29 +00:00
@@ -21,6 +21,7 @@
external/icu/icu4c-mkdir.patch \
external/icu/icu4c-buffer-overflow.patch \
external/icu/icu4c-$(if $(filter ANDROID,$(OS)),android,rpath).patch \
+ external/icu/icudata-stdlibs.patch \
2014-12-13 00:19:57 +00:00
external/icu/icu4c-scriptrun.patch \
2014-04-19 20:17:29 +00:00
))