diff --git a/cups-enum-all.patch b/cups-enum-all.patch new file mode 100644 index 0000000..0ac3983 --- /dev/null +++ b/cups-enum-all.patch @@ -0,0 +1,17 @@ +diff -up cups-1.6.2/cups/dest.c.enum-all cups-1.6.2/cups/dest.c +--- cups-1.6.2/cups/dest.c.enum-all 2013-06-04 10:58:36.169786250 +0100 ++++ cups-1.6.2/cups/dest.c 2013-06-04 10:59:02.147900811 +0100 +@@ -2724,9 +2724,12 @@ cups_dnssd_browse_cb( + break; + + case AVAHI_BROWSER_REMOVE: +- case AVAHI_BROWSER_ALL_FOR_NOW: + case AVAHI_BROWSER_CACHE_EXHAUSTED: + break; ++ ++ case AVAHI_BROWSER_ALL_FOR_NOW: ++ avahi_simple_poll_quit(data->simple_poll); ++ break; + } + } + diff --git a/cups.spec b/cups.spec index e416e62..2c281fd 100644 --- a/cups.spec +++ b/cups.spec @@ -11,7 +11,7 @@ Summary: CUPS printing system Name: cups Epoch: 1 Version: 1.6.2 -Release: 7%{?dist} +Release: 8%{?dist} License: GPLv2 Group: System Environment/Daemons Url: http://www.cups.org/ @@ -56,6 +56,7 @@ Patch25: cups-systemd-socket.patch Patch26: cups-lpd-manpage.patch Patch27: cups-avahi-address.patch Patch28: cups-usblp-quirks.patch +Patch29: cups-enum-all.patch Patch100: cups-lspp.patch @@ -228,6 +229,8 @@ Sends IPP requests to the specified URI and tests and/or displays the results. # More USB quirks for the libusb-based backend (STR #4311). # Fixed in 1.6.3 %patch28 -p1 -b .quirks +# Return from cupsEnumDests() once all records have been returned. +%patch29 -p1 -b .enum-all %if %lspp # LSPP support. @@ -629,6 +632,9 @@ rm -f %{cups_serverbin}/backend/smb %{_mandir}/man5/ipptoolfile.5.gz %changelog +* Tue Jun 4 2013 Tim Waugh - 1:1.6.2-8 +- Return from cupsEnumDests() once all records have been returned. + * Thu May 23 2013 Jiri Popelka - 1:1.6.2-7 - Added more USB quirks for the libusb-based backend (STR #4311)