diff options
Diffstat (limited to 'cups/cups-dnssd.patch')
-rw-r--r-- | cups/cups-dnssd.patch | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/cups/cups-dnssd.patch b/cups/cups-dnssd.patch deleted file mode 100644 index a120f20f7..000000000 --- a/cups/cups-dnssd.patch +++ /dev/null @@ -1,44 +0,0 @@ -commit 8441e27ce4008828cbdd25bdd6249c0019853b92 -Author: msweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be> -Date: Fri May 9 20:57:11 2014 +0000 - - CUPS did not compile when Avahi or mDNSResponder was not present (STR #4402) - - - - git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11871 a1ca3aef-8c08-0410-bb20-df032aa958be - -diff --git a/scheduler/dirsvc.c b/scheduler/dirsvc.c -index 495bf1b..4e417b0 100644 ---- a/scheduler/dirsvc.c -+++ b/scheduler/dirsvc.c -@@ -237,11 +237,13 @@ cupsdStartBrowsing(void) - if (BrowseLocalProtocols & BROWSE_SMB) - update_smb(1); - -+#if defined(HAVE_DNSSD) || defined(HAVE_AVAHI) - /* - * Register the individual printers - */ - - dnssdRegisterAllPrinters(0); -+#endif /* HAVE_DNSSD || HAVE_AVAHI */ - } - - -@@ -255,6 +257,7 @@ cupsdStopBrowsing(void) - if (!Browsing || !BrowseLocalProtocols) - return; - -+#if defined(HAVE_DNSSD) || defined(HAVE_AVAHI) - /* - * De-register the individual printers - */ -@@ -265,7 +268,6 @@ cupsdStopBrowsing(void) - * Shut down browsing sockets... - */ - --#if defined(HAVE_DNSSD) || defined(HAVE_AVAHI) - if ((BrowseLocalProtocols & BROWSE_DNSSD) && DNSSDMaster) - dnssdStop(); - #endif /* HAVE_DNSSD || HAVE_AVAHI */ |