aboutsummaryrefslogtreecommitdiff
path: root/repos/extra/icu/pc.patch
diff options
context:
space:
mode:
authorLinux User <emmett@vmi2195005.contaboserver.net>2025-04-14 01:35:12 +0000
committerLinux User <emmett@vmi2195005.contaboserver.net>2025-04-14 01:35:12 +0000
commit595101c9e63eae025157878b14577acb3fef0b3b (patch)
tree9878022974c9d8b274c999d693e466b23cfb2fdd /repos/extra/icu/pc.patch
parent73d7a925b4ad5bb64b17506acdf1600a12d55d47 (diff)
downloadalicelinux-595101c9e63eae025157878b14577acb3fef0b3b.tar.gz
alicelinux-595101c9e63eae025157878b14577acb3fef0b3b.zip
clang repos migrated to main
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.