aboutsummaryrefslogtreecommitdiff
path: root/repos/extra/icu/pc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'repos/extra/icu/pc.patch')
-rw-r--r--repos/extra/icu/pc.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/repos/extra/icu/pc.patch b/repos/extra/icu/pc.patch
new file mode 100644
index 00000000..cb539bf5
--- /dev/null
+++ b/repos/extra/icu/pc.patch
@@ -0,0 +1,26 @@
+for some reason enable-shared only emits a requires.private here now and things
+underlink icu-uc libs when using other icu libs, even though the deps are correct
+this is https://github.com/unicode-org/icu/commit/199bc827021ffdb43b6579d68e5eecf54c7f6f56 ,
+consumers probably have to be explicit about -i18n -uc use now instead of it
+being implicit, but just undo .private for now
+--
+--- a/source/Makefile.in
++++ b/source/Makefile.in
+@@ -290,7 +290,7 @@
+ ifeq ($(ENABLE_SHARED),)
+ @echo "Requires: icu-uc" >> $@
+ else
+- @echo "Requires.private: icu-uc" >> $@
++ @echo "Requires: icu-uc" >> $@
+ endif
+ @echo "Libs:" '-L$${libdir}' "${ICULIBS_I18N}" >> $@
+ @echo $@ updated.
+@@ -302,7 +302,7 @@
+ ifeq ($(ENABLE_SHARED),)
+ @echo "Requires: icu-i18n" >> $@
+ else
+- @echo "Requires.private: icu-i18n" >> $@
++ @echo "Requires: icu-i18n" >> $@
+ endif
+ @echo "Libs:" '-L$${libdir}' "${ICULIBS_IO}" >> $@
+ @echo $@ updated.