tamiko      14/12/06 23:42:11

  Added:                cups-2.0.1-fix-linkage-to-gnutls.patch
  Log:
  fix gnutls linkage in case of USE="-ssl", fixes bug #531830
  
  (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 
BD3A97A3)

Revision  Changes    Path
1.1                  net-print/cups/files/cups-2.0.1-fix-linkage-to-gnutls.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/cups/files/cups-2.0.1-fix-linkage-to-gnutls.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/cups/files/cups-2.0.1-fix-linkage-to-gnutls.patch?rev=1.1&content-type=text/plain

Index: cups-2.0.1-fix-linkage-to-gnutls.patch
===================================================================
--- a/cups/usersys.c
+++ b/cups/usersys.c
@@ -1044,7 +1044,9 @@
          options = 0;
       }
 
+#ifdef HAVE_SSL
       _httpTLSSetOptions(options);
+#endif /* HAVE_SSL */
     }
   }
 
--- a/scheduler/conf.c
+++ b/scheduler/conf.c
@@ -2975,7 +2975,9 @@
         }
       }
 
+#ifdef HAVE_SSL
       _httpTLSSetOptions(options);
+#endif /* HAVE_SSL */
     }
     else if ((!_cups_strcasecmp(line, "Port") || !_cups_strcasecmp(line, 
"Listen")
 #ifdef HAVE_SSL




Reply via email to