From ad66158cb804429de7b90333976580da8d60c878 Mon Sep 17 00:00:00 2001 From: Christoph Moench-Tegeder Date: Sat, 9 Jun 2018 12:50:08 +0000 Subject: unbreak deskutils/gucharmap after update of textproc/UCD gen-guch-unicode-tables.pl generated a unicode-versions.h file with all unicode versions found in UCD's DerivedAge.txt file - regardless of wether gucharmap itself supports that unicode version. This makes sure that codepoints with a higer unicode version than supported are skipped. PR: 228830 Approved by: maintainer (pi) --- .../gucharmap/files/patch-gucharmap_gen-guch-unicode-tables.pl | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 deskutils/gucharmap/files/patch-gucharmap_gen-guch-unicode-tables.pl (limited to 'deskutils/gucharmap') diff --git a/deskutils/gucharmap/files/patch-gucharmap_gen-guch-unicode-tables.pl b/deskutils/gucharmap/files/patch-gucharmap_gen-guch-unicode-tables.pl new file mode 100644 index 000000000000..104c3ee7eb79 --- /dev/null +++ b/deskutils/gucharmap/files/patch-gucharmap_gen-guch-unicode-tables.pl @@ -0,0 +1,10 @@ +--- gucharmap/gen-guch-unicode-tables.pl.orig 2017-05-09 22:11:10 UTC ++++ gucharmap/gen-guch-unicode-tables.pl +@@ -999,6 +999,7 @@ sub process_versions_txt + { + next; + } ++ next if $raw_version > $v; + + my $version = $raw_version; + $version =~ tr/_/ /; -- cgit v1.2.3