diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2020-04-13 00:50:21 +0200 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2020-04-13 00:51:04 +0200 |
commit | 7461a982b3b7cdd5720f72241143e682aa447acc (patch) | |
tree | c077853895f9942cc4f27a748f97fd8af0afa21e /net-print/cups-filters/files | |
parent | dev-lang/go: 1.14.2 bump (diff) | |
download | gentoo-7461a982b3b7cdd5720f72241143e682aa447acc.tar.gz gentoo-7461a982b3b7cdd5720f72241143e682aa447acc.tar.bz2 gentoo-7461a982b3b7cdd5720f72241143e682aa447acc.zip |
net-print/cups-filters: make testfont optional
Closes: https://bugs.gentoo.org/717138
Package-Manager: Portage-2.3.98, Repoman-2.3.22
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'net-print/cups-filters/files')
-rw-r--r-- | net-print/cups-filters/files/cups-filters-1.27.4-make-missing-testfont-non-fatal.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net-print/cups-filters/files/cups-filters-1.27.4-make-missing-testfont-non-fatal.patch b/net-print/cups-filters/files/cups-filters-1.27.4-make-missing-testfont-non-fatal.patch new file mode 100644 index 000000000000..50866e4a7291 --- /dev/null +++ b/net-print/cups-filters/files/cups-filters-1.27.4-make-missing-testfont-non-fatal.patch @@ -0,0 +1,11 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -789,7 +789,7 @@ AC_ARG_WITH([test-font-path], + [with_test_font_path=`find /usr/share/fonts -name DejaVuSans.ttf || echo /usr/share/fonts/dejavu/DejaVuSans.ttf`] + ) + AC_CHECK_FILE("$with_test_font_path", [], [ +- AC_MSG_ERROR([Requested font file is missing. Please install a package providing it.]) ++ AC_MSG_WARN([Specified font for tests not found. Expect test failures!]) + ]) + AC_DEFINE_UNQUOTED([TESTFONT], ["$with_test_font_path"], [Path to font used in tests]) + |