cups/cups-build.patch

43 lines
1.7 KiB
Diff
Raw Normal View History

diff -up cups-1.4b2/Makedefs.in.build cups-1.4b2/Makedefs.in
--- cups-1.4b2/Makedefs.in.build 2008-11-11 00:57:12.000000000 +0000
+++ cups-1.4b2/Makedefs.in 2008-12-16 11:30:09.000000000 +0000
@@ -124,7 +124,7 @@ ARFLAGS = @ARFLAGS@
2008-11-12 16:16:44 +00:00
BACKLIBS = @BACKLIBS@
BANNERTOPS = @BANNERTOPS@
2008-11-12 16:16:44 +00:00
CFLAGS = @CPPFLAGS@ @CFLAGS@
-COMMONLIBS = @LIBS@
+COMMONLIBS = @LIBS@ $(DNSSDLIBS)
CUPSDLIBS = @CUPSDLIBS@
CXXFLAGS = @CPPFLAGS@ @CXXFLAGS@
CXXLIBS = @CXXLIBS@
diff -up cups-1.4b2/scheduler/dirsvc.c.build cups-1.4b2/scheduler/dirsvc.c
--- cups-1.4b2/scheduler/dirsvc.c.build 2008-10-08 05:26:38.000000000 +0100
+++ cups-1.4b2/scheduler/dirsvc.c 2008-12-16 11:30:09.000000000 +0000
2008-11-12 16:16:44 +00:00
@@ -1948,7 +1948,7 @@ cupsdUpdateDNSSDName(void)
WebIFRef = DNSSDRef;
if ((error = DNSServiceRegister(&WebIFRef,
- kDNSServiceFlagsShareConnection,
+ 0,
0, webif, "_http._tcp", NULL,
NULL, htons(DNSSDPort), 7,
"\006path=/", dnssdRegisterCallback,
@@ -2622,7 +2622,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, domain, NULL,
htons(DNSSDPort), ipp_len, ipp_txt,
dnssdRegisterCallback,
@@ -2693,7 +2693,7 @@ dnssdRegisterPrinter(cupsd_printer_t *p)
p->printer_ref = DNSSDRef;
if ((se = DNSServiceRegister(&p->printer_ref,
- kDNSServiceFlagsShareConnection,
+ 0,
0, name, "_printer._tcp", domain, NULL,
htons(515), printer_len, printer_txt,
dnssdRegisterCallback,