From 57b948a3781b688ed2021a99ace062d562ddd9ab Mon Sep 17 00:00:00 2001 From: Mo Zhou Date: Wed, 21 Aug 2019 14:35:01 +0000 Subject: [PATCH] Rebase use-unicode-data.patch --- debian/patches/use-unicode-data.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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: -- 2.30.2