diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2020-07-06 13:35:27 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2020-07-06 13:35:35 +0200 |
commit | 3a3c565c4461e0984b09d50c435cf66ba3cea832 (patch) | |
tree | 843b5a774ee2e5ffc7e97ac33af1dd65ccbf7e36 /net-print | |
parent | media-gfx/sane-backends: arm64 stable (bug #729312) (diff) | |
download | gentoo-3a3c565c4461e0984b09d50c435cf66ba3cea832.tar.gz gentoo-3a3c565c4461e0984b09d50c435cf66ba3cea832.tar.bz2 gentoo-3a3c565c4461e0984b09d50c435cf66ba3cea832.zip |
net-print/cups-filters: Fixed build with USE="-test"
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'net-print')
-rw-r--r-- | net-print/cups-filters/cups-filters-1.27.5.ebuild | 2 | ||||
-rw-r--r-- | net-print/cups-filters/files/cups-filters-1.27.5-make-missing-testfont-non-fatal.patch | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/net-print/cups-filters/cups-filters-1.27.5.ebuild b/net-print/cups-filters/cups-filters-1.27.5.ebuild index 7abb7a7fcbf0..a62c679e894d 100644 --- a/net-print/cups-filters/cups-filters-1.27.5.ebuild +++ b/net-print/cups-filters/cups-filters-1.27.5.ebuild @@ -59,7 +59,7 @@ src_prepare() { default if ! use test ; then - eapply "${FILESDIR}"/${PN}-1.27.4-make-missing-testfont-non-fatal.patch + eapply "${FILESDIR}"/${PN}-1.27.5-make-missing-testfont-non-fatal.patch need_eautoreconf=yes elif [[ "${PV}" == "9999" ]] ; then need_eautoreconf=yes diff --git a/net-print/cups-filters/files/cups-filters-1.27.5-make-missing-testfont-non-fatal.patch b/net-print/cups-filters/files/cups-filters-1.27.5-make-missing-testfont-non-fatal.patch new file mode 100644 index 000000000000..0d5b6e6e06c5 --- /dev/null +++ b/net-print/cups-filters/files/cups-filters-1.27.5-make-missing-testfont-non-fatal.patch @@ -0,0 +1,11 @@ +--- cups-filters-1.27.5/configure.ac ++++ cups-filters-1.27.5/configure.ac +@@ -791,7 +791,7 @@ + + AS_IF([test -f "$with_test_font_path"], + [AC_DEFINE_UNQUOTED([TESTFONT], ["$with_test_font_path"], [Path to font used in tests])], +- [AC_MSG_ERROR(DejaVuSans.ttf font file is missing. Please install a package providing it.)] ++ [AC_MSG_WARN(DejaVuSans.ttf font file is missing. Expect test failures!)] + ) + + # ================ |