2009-06-17 11:30:03 +00:00
|
|
|
diff -up cups-1.4rc1/Makedefs.in.build cups-1.4rc1/Makedefs.in
|
|
|
|
--- cups-1.4rc1/Makedefs.in.build 2009-05-27 00:27:06.000000000 +0100
|
|
|
|
+++ cups-1.4rc1/Makedefs.in 2009-06-17 11:18:27.185443255 +0100
|
2008-12-16 12:31:53 +00:00
|
|
|
@@ -124,7 +124,7 @@ ARFLAGS = @ARFLAGS@
|
2008-11-12 16:16:44 +00:00
|
|
|
BACKLIBS = @BACKLIBS@
|
2008-12-16 12:31:53 +00:00
|
|
|
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@
|
2009-06-17 11:30:03 +00:00
|
|
|
diff -up cups-1.4rc1/scheduler/dirsvc.c.build cups-1.4rc1/scheduler/dirsvc.c
|
|
|
|
--- cups-1.4rc1/scheduler/dirsvc.c.build 2009-05-14 18:54:37.000000000 +0100
|
|
|
|
+++ cups-1.4rc1/scheduler/dirsvc.c 2009-06-17 11:23:23.366318546 +0100
|
|
|
|
@@ -2042,7 +2042,7 @@ cupsdUpdateDNSSDName(void)
|
2008-11-12 16:16:44 +00:00
|
|
|
|
|
|
|
WebIFRef = DNSSDRef;
|
|
|
|
if ((error = DNSServiceRegister(&WebIFRef,
|
|
|
|
- kDNSServiceFlagsShareConnection,
|
|
|
|
+ 0,
|
|
|
|
0, webif, "_http._tcp", NULL,
|
|
|
|
NULL, htons(DNSSDPort), 7,
|
|
|
|
"\006path=/", dnssdRegisterCallback,
|
2009-06-17 11:30:03 +00:00
|
|
|
@@ -2765,7 +2765,7 @@ dnssdRegisterPrinter(cupsd_printer_t *p)
|
2008-11-12 16:16:44 +00:00
|
|
|
do
|
|
|
|
{
|
|
|
|
p->ipp_ref = DNSSDRef;
|
|
|
|
- if ((se = DNSServiceRegister(&p->ipp_ref, kDNSServiceFlagsShareConnection,
|
|
|
|
+ if ((se = DNSServiceRegister(&p->ipp_ref, 0,
|
2009-06-17 11:30:03 +00:00
|
|
|
0, name, regtype, NULL, NULL,
|
2008-11-12 16:16:44 +00:00
|
|
|
htons(DNSSDPort), ipp_len, ipp_txt,
|
|
|
|
dnssdRegisterCallback,
|
2009-06-17 11:30:03 +00:00
|
|
|
@@ -2854,7 +2854,7 @@ dnssdRegisterPrinter(cupsd_printer_t *p)
|
2008-11-12 16:16:44 +00:00
|
|
|
|
|
|
|
p->printer_ref = DNSSDRef;
|
|
|
|
if ((se = DNSServiceRegister(&p->printer_ref,
|
|
|
|
- kDNSServiceFlagsShareConnection,
|
|
|
|
+ 0,
|
2009-06-17 11:30:03 +00:00
|
|
|
0, name, "_printer._tcp", NULL, NULL,
|
2008-11-12 16:16:44 +00:00
|
|
|
htons(515), printer_len, printer_txt,
|
|
|
|
dnssdRegisterCallback,
|