summaryrefslogtreecommitdiff
path: root/net-print/cups-filters/files/cups-filters-1.27.5-make-missing-testfont-non-fatal-r1.patch
blob: 43aa6bf3b5aafd7ad5e14b9a85b58bf77ab8a7dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- a/configure.ac
+++ b/configure.ac
@@ -791,7 +791,10 @@ AC_ARG_WITH([test-font-path],
 
 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!)
+		AC_DEFINE([TESTFONT])
+	]
 )
 
 # ================