summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorprlw1 <prlw1@pkgsrc.org>2020-10-16 15:11:13 +0000
committerprlw1 <prlw1@pkgsrc.org>2020-10-16 15:11:13 +0000
commit9c616e9ab716a4b485c3a9a9530d71a7decddf2b (patch)
tree59fba83e68467a9b355fbdd88e9e933c4abb24a1 /print
parent4b8afab296d0f12d2f87118a21d12e83aea7ee67 (diff)
downloadpkgsrc-9c616e9ab716a4b485c3a9a9530d71a7decddf2b.tar.gz
cups-base: build ippfind in the (on by default) dnssd case, not just avahi.
Diffstat (limited to 'print')
-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"
+ ;;