]> git.pld-linux.org Git - packages/fontconfig.git/commitdiff
disable test which requires network access auto/th/fontconfig-2.14.0-2
authorJan Palus <atler@pld-linux.org>
Thu, 7 Apr 2022 18:25:35 +0000 (20:25 +0200)
committerJan Palus <atler@pld-linux.org>
Thu, 7 Apr 2022 18:25:35 +0000 (20:25 +0200)
disable-tests.patch [new file with mode: 0644]
fontconfig.spec

diff --git a/disable-tests.patch b/disable-tests.patch
new file mode 100644 (file)
index 0000000..aadf36a
--- /dev/null
@@ -0,0 +1,13 @@
+--- fontconfig-2.14.0/test/Makefile.am.orig    2022-01-28 10:34:44.000000000 +0100
++++ fontconfig-2.14.0/test/Makefile.am 2022-04-07 20:24:29.827809835 +0200
+@@ -69,8 +69,8 @@
+ # to meaningfully test anything, and we are not installed yet.
+ #TESTS += test-pthread
+-check_PROGRAMS += test-crbug1004254
+-test_crbug1004254_LDADD = $(top_builddir)/src/libfontconfig.la
++#check_PROGRAMS += test-crbug1004254
++#test_crbug1004254_LDADD = $(top_builddir)/src/libfontconfig.la
+ # Disabling this for the same reason as above but trying to run in run-test.sh.
+ #TESTS += test-crbug1004254
+ endif
index fe08b1d2d547cd7506469a61787d1c958db7cee6..3387179f913e171031fb46e59552641c1b0bf3e0 100644 (file)
@@ -17,6 +17,7 @@ Source0:      https://www.freedesktop.org/software/fontconfig/release/%{name}-%{versi
 # Source0-md5: e12700a9d522bdfec06b6b7e72646987
 Source1:       %{name}-lcd-filter.conf
 Patch0:                %{name}-bitstream-cyberbit.patch
+Patch1:                disable-tests.patch
 URL:           http://fontconfig.org/
 BuildRequires: autoconf >= 2.61
 BuildRequires: automake >= 1:1.11
@@ -136,6 +137,7 @@ Este pacote contém a biblioteca estática do fontconfig
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 # bwrap: No permissions to creating new namespace, likely because the kernel does not allow non-privileged user namespaces...
 sed -i -e 's#BWRAP=.*#BWRAP=#g' test/run-test.sh
This page took 0.20602 seconds and 4 git commands to generate.