From 46c9f563bf91a6766cbf7ea5e865f907427f6984 Mon Sep 17 00:00:00 2001 From: Jiri Popelka Date: Aug 29 2012 10:17:52 +0000 Subject: Amend the last change. --- diff --git a/cups-avahi-5-services.patch b/cups-avahi-5-services.patch index 23928c4..95cf60f 100644 --- a/cups-avahi-5-services.patch +++ b/cups-avahi-5-services.patch @@ -117,24 +117,6 @@ diff -up cups-1.5.4/scheduler/client.c.avahi-5-services cups-1.5.4/scheduler/cli /* * Check if the hostname is an IP address... -@@ -5073,7 +5073,7 @@ valid_host(cupsd_client_t *con) /* I - - } - } - --#ifdef HAVE_DNSSD -+#if defined(HAVE_DNSSD) || defined(HAVE_AVAHI) - for (a = (cupsd_alias_t *)cupsArrayFirst(DNSSDAlias); - a; - a = (cupsd_alias_t *)cupsArrayNext(DNSSDAlias)) -@@ -5098,7 +5098,7 @@ valid_host(cupsd_client_t *con) /* I - - return (1); - } - } --#endif /* HAVE_DNSSD */ -+#endif /* HAVE_DNSSD || HAVE_AVAHI */ - - /* - * Check for interface hostname matches... diff -up cups-1.5.4/scheduler/conf.c.avahi-5-services cups-1.5.4/scheduler/conf.c --- cups-1.5.4/scheduler/conf.c.avahi-5-services 2012-08-29 11:15:24.510931435 +0200 +++ cups-1.5.4/scheduler/conf.c 2012-08-29 11:22:07.045867370 +0200