From: Mo Zhou Date: Wed, 21 Aug 2019 14:35:01 +0000 (+0000) Subject: Rebase use-unicode-data.patch X-Git-Tag: archive/raspbian/2.11.3-2+rpi1^2~82 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=57b948a3781b688ed2021a99ace062d562ddd9ab;p=utf8proc.git Rebase use-unicode-data.patch --- diff --git a/debian/patches/use-unicode-data.patch b/debian/patches/use-unicode-data.patch index fcae2a1..b877853 100644 --- a/debian/patches/use-unicode-data.patch +++ b/debian/patches/use-unicode-data.patch @@ -10,8 +10,8 @@ Index: utf8proc/data/Makefile =================================================================== --- utf8proc.orig/data/Makefile +++ utf8proc/data/Makefile -@@ -25,31 +25,31 @@ CharWidths.txt: charwidths.jl EastAsianW - UNICODE_VERSION=12.0.0 +@@ -28,31 +28,31 @@ UNICODE_VERSION=12.1.0 + UNICODE_EMOJI_VERSION=12.0 UnicodeData.txt: - $(CURL) $(CURLFLAGS) -o $@ -O http://www.unicode.org/Public/$(UNICODE_VERSION)/ucd/UnicodeData.txt @@ -46,7 +46,7 @@ Index: utf8proc/data/Makefile + $(PERL) -pe 's,÷,/,g;s,×,+,g' < /usr/share/unicode/auxiliary/GraphemeBreakTest.txt > $@ emoji-data.txt: -- $(CURL) $(CURLFLAGS) -o $@ -O $(URLCACHE)http://unicode.org/Public/emoji/`echo $(UNICODE_VERSION) | cut -d. -f1-2`/emoji-data.txt +- $(CURL) $(CURLFLAGS) -o $@ -O $(URLCACHE)http://unicode.org/Public/emoji/$(UNICODE_EMOJI_VERSION)/emoji-data.txt + cp /usr/share/unicode/emoji/emoji-data.txt $@ clean: