From 16fcc34ac83bcd14f080b8caaf335dd267c8b774 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20R=C3=BChsen?= Date: Sun, 4 Nov 2018 23:50:45 +0100 Subject: [PATCH] [libpsl] Fix build: convert PSL to NFC (#1924) --- projects/libpsl/build.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/projects/libpsl/build.sh b/projects/libpsl/build.sh index 6cf1cb92b..0dd93b532 100755 --- a/projects/libpsl/build.sh +++ b/projects/libpsl/build.sh @@ -69,6 +69,9 @@ for build in $builds; do unset LIBS if test $build = "none"; then BUILD_FLAGS="--disable-runtime --disable-builtin" + # convert PSL to NFC + cp -p list/public_suffix_list.dat list/public_suffix_list.dat.org + LC_ALL=C.UTF-8 python3 -c $'import unicodedata\nimport sys\nfor line in sys.stdin:\n sys.stdout.write(unicodedata.normalize("NFC", line))' list/public_suffix_list.dat else BUILD_FLAGS="--enable-runtime=$build --enable-builtin=$build" if test $build = "libicu"; then