summaryrefslogtreecommitdiffstats
path: root/cups-build.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2011-12-27 16:50:50 +0100
committerRemi Collet <fedora@famillecollet.com>2011-12-27 16:50:50 +0100
commit65608e0f8bbc0190cc1b7646f653e796c807f02b (patch)
tree274ade8f5007bd7f9c252d8262637e0300363e82 /cups-build.patch
import cups from F16
Diffstat (limited to 'cups-build.patch')
-rw-r--r--cups-build.patch42
1 files changed, 42 insertions, 0 deletions
diff --git a/cups-build.patch b/cups-build.patch
new file mode 100644
index 0000000..c229a76
--- /dev/null
+++ b/cups-build.patch
@@ -0,0 +1,42 @@
+diff -up cups-1.5b1/Makedefs.in.build cups-1.5b1/Makedefs.in
+--- cups-1.5b1/Makedefs.in.build 2011-05-04 06:28:00.000000000 +0200
++++ cups-1.5b1/Makedefs.in 2011-05-24 15:54:03.000000000 +0200
+@@ -138,7 +138,7 @@ BACKLIBS = @BACKLIBS@
+ BANNERTOPS = @BANNERTOPS@
+ BUILDDIRS = @BUILDDIRS@
+ CFLAGS = @CPPFLAGS@ @CFLAGS@
+-COMMONLIBS = @LIBS@
++COMMONLIBS = @LIBS@ $(DNSSDLIBS)
+ CXXFLAGS = @CPPFLAGS@ @CXXFLAGS@
+ CXXLIBS = @CXXLIBS@
+ DBUS_NOTIFIER = @DBUS_NOTIFIER@
+diff -up cups-1.5b1/scheduler/dirsvc.c.build cups-1.5b1/scheduler/dirsvc.c
+--- cups-1.5b1/scheduler/dirsvc.c.build 2011-05-20 05:49:49.000000000 +0200
++++ cups-1.5b1/scheduler/dirsvc.c 2011-05-24 15:55:26.000000000 +0200
+@@ -2047,7 +2047,7 @@ cupsdUpdateDNSSDName(void)
+
+ WebIFRef = DNSSDRef;
+ if ((error = DNSServiceRegister(&WebIFRef,
+- kDNSServiceFlagsShareConnection,
++ 0,
+ 0, webif, "_http._tcp", NULL,
+ NULL, htons(DNSSDPort), 7,
+ "\006path=/", dnssdRegisterCallback,
+@@ -2769,7 +2769,7 @@ dnssdRegisterPrinter(cupsd_printer_t *p)
+ do
+ {
+ p->ipp_ref = DNSSDRef;
+- if ((se = DNSServiceRegister(&p->ipp_ref, kDNSServiceFlagsShareConnection,
++ if ((se = DNSServiceRegister(&p->ipp_ref, 0,
+ 0, name, regtype, NULL, NULL,
+ htons(DNSSDPort), ipp_len, ipp_txt,
+ dnssdRegisterCallback,
+@@ -2866,7 +2866,7 @@ dnssdRegisterPrinter(cupsd_printer_t *p)
+
+ p->printer_ref = DNSSDRef;
+ if ((se = DNSServiceRegister(&p->printer_ref,
+- kDNSServiceFlagsShareConnection,
++ 0,
+ 0, name, "_printer._tcp", NULL, NULL,
+ htons(printer_port), printer_len, printer_txt,
+ dnssdRegisterCallback,