summaryrefslogtreecommitdiff
path: root/fontconfig-disable-network-required-test.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-08-01 14:04:43 +0000
committerCoprDistGit <infra@openeuler.org>2024-08-01 14:04:43 +0000
commit7552d9f26277730dcf4d6b2286e05af895f0fa9a (patch)
tree0795ce3d2e333b0bdb42599b16df058731d8cdff /fontconfig-disable-network-required-test.patch
parent1ffe683c1f0a5b2f2dc9b1456e3d283f5c7dc88d (diff)
automatic import of fontconfigopeneuler24.03_LTS
Diffstat (limited to 'fontconfig-disable-network-required-test.patch')
-rw-r--r--fontconfig-disable-network-required-test.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/fontconfig-disable-network-required-test.patch b/fontconfig-disable-network-required-test.patch
new file mode 100644
index 0000000..8481f39
--- /dev/null
+++ b/fontconfig-disable-network-required-test.patch
@@ -0,0 +1,33 @@
+diff -pruN fontconfig-2.13.93.orig/test/run-test.sh fontconfig-2.13.93/test/run-test.sh
+--- fontconfig-2.13.93.orig/test/run-test.sh 2020-11-28 10:56:42.000000000 +0900
++++ fontconfig-2.13.93/test/run-test.sh 2020-11-28 12:39:57.345644527 +0900
+@@ -421,18 +421,18 @@ rm -rf "$MYCACHEBASEDIR" "$MYCONFIG" my-
+
+ fi # if [ "x$EXEEXT" = "x" ]
+
+-if [ -x "$BUILDTESTDIR"/test-crbug1004254 ]; then
+- dotest "MT-safe global config"
+- prep
+- curl -s -o "$FONTDIR"/noto.zip https://noto-website-2.storage.googleapis.com/pkgs/NotoSans-hinted.zip
+- (cd "$FONTDIR"; unzip noto.zip)
+- if [ -n "${SOURCE_DATE_EPOCH:-}" ] && [ ${#SOURCE_DATE_EPOCH} -gt 0 ]; then
+- touch -m -t "$(date -d @"${SOURCE_DATE_EPOCH}" +%y%m%d%H%M.%S)" "$FONTDIR"
+- fi
+- "$BUILDTESTDIR"/test-crbug1004254
+-else
++#if [ -x "$BUILDTESTDIR"/test-crbug1004254 ]; then
++# dotest "MT-safe global config"
++# prep
++# curl -s -o "$FONTDIR"/noto.zip https://noto-website-2.storage.googleapis.com/pkgs/NotoSans-hinted.zip
++# (cd "$FONTDIR"; unzip noto.zip)
++# if [ -n "${SOURCE_DATE_EPOCH:-}" ] && [ ${#SOURCE_DATE_EPOCH} -gt 0 ]; then
++# touch -m -t "$(date -d @"${SOURCE_DATE_EPOCH}" +%y%m%d%H%M.%S)" "$FONTDIR"
++# fi
++# "$BUILDTESTDIR"/test-crbug1004254
++#else
+ echo "No test-crbug1004254: skipped"
+-fi
++#fi
+
+ if [ "x$EXEEXT" = "x" ]; then
+