summaryrefslogtreecommitdiff
path: root/print/cups-base/patches/patch-config-scripts_cups-dnssd.m4
diff options
context:
space:
mode:
Diffstat (limited to 'print/cups-base/patches/patch-config-scripts_cups-dnssd.m4')
-rw-r--r--print/cups-base/patches/patch-config-scripts_cups-dnssd.m419
1 files changed, 19 insertions, 0 deletions
diff --git a/print/cups-base/patches/patch-config-scripts_cups-dnssd.m4 b/print/cups-base/patches/patch-config-scripts_cups-dnssd.m4
new file mode 100644
index 00000000000..a73e407734d
--- /dev/null
+++ b/print/cups-base/patches/patch-config-scripts_cups-dnssd.m4
@@ -0,0 +1,19 @@
+$NetBSD: patch-config-scripts_cups-dnssd.m4,v 1.1 2020/10/16 15:11:13 prlw1 Exp $
+
+Build ippfind if dnssd is found (not just avahi).
+This seems to be the intention of cups commit 766a822, but a comma got in the way.
+
+--- config-scripts/cups-dnssd.m4.orig 2020-04-27 18:04:29.000000000 +0000
++++ config-scripts/cups-dnssd.m4
+@@ -60,9 +60,9 @@ if test "x$DNSSD_BACKEND" = x -a x$enabl
+ AC_MSG_RESULT(yes)
+ AC_DEFINE(HAVE_DNSSD)
+ DNSSDLIBS="-ldns_sd"
+- DNSSD_BACKEND="dnssd",
++ DNSSD_BACKEND="dnssd"
+ IPPFIND_BIN="ippfind"
+- IPPFIND_MAN="ippfind.1"
++ IPPFIND_MAN="ippfind.1",
+ AC_MSG_RESULT(no))
+ LIBS="$SAVELIBS"
+ ;;