void-packages/srcpkgs/icu/patches/big-endian.patch

16 lines
610 B
Diff
Raw Normal View History

Source: https://unicode-org.atlassian.net/browse/ICU-20533
Upstream: pending(?)
Reason: fix build on big-endian architecture
--- source/data/Makefile.in 2019-04-17 21:42:15.000000000 +0200
+++ source/data/Makefile.in 2019-07-30 17:14:44.272986038 +0200
@@ -149,6 +149,7 @@
ifneq ($(ICUDATA_ARCHIVE),)
ICUDATA_SOURCE_ARCHIVE = $(OUTDIR)/$(ICUDATA_PLATFORM_NAME).dat
-$(ICUDATA_SOURCE_ARCHIVE): $(ICUDATA_ARCHIVE) $(OUTDIR)
+$(ICUDATA_SOURCE_ARCHIVE): $(ICUDATA_ARCHIVE)
+ $(MKINSTALLDIRS) $(OUTDIR)
$(INVOKE) $(TOOLBINDIR)/icupkg -t$(ICUDATA_CHAR) $(ICUDATA_ARCHIVE) $(ICUDATA_SOURCE_ARCHIVE)
endif
else