[Lunar-commits] <moonbase> cups: fix gnutls & threads with patch

Paul Bredbury brebs at lunar-linux.org
Wed Feb 9 07:50:29 CET 2011


commit 3dd6dbcc2f0507e4dd7920b0e9cd437ee280fe8e
Author: Paul Bredbury <brebs at lunar-linux.org>
Date:   Wed Feb 9 13:50:29 2011 +0700

    cups: fix gnutls & threads with patch
---
 printer/cups/BUILD   |    4 +++-
 printer/cups/DETAILS |    3 +++
 2 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/printer/cups/BUILD b/printer/cups/BUILD
index 25c33eb..aa408d8 100644
--- a/printer/cups/BUILD
+++ b/printer/cups/BUILD
@@ -2,10 +2,12 @@
 
   if in_depends $MODULE gnutls ; then
     # Prevent crash when using print preview in firefox4
+    # http://www.cups.org/str.php?L3606
     # https://bugzilla.redhat.com/show_bug.cgi?id=607159
     # https://bugzilla.mozilla.org/show_bug.cgi?id=573039
     # configure warns: GNU TLS cannot be made thread-safe
-    OPTS+=" --disable-threads"
+    #OPTS+=" --disable-threads"
+    patch_it $SOURCE2 1
   fi &&
 
   default_config &&
diff --git a/printer/cups/DETAILS b/printer/cups/DETAILS
index 4132e1b..ef81b01 100644
--- a/printer/cups/DETAILS
+++ b/printer/cups/DETAILS
@@ -1,8 +1,11 @@
           MODULE=cups
          VERSION=1.4.6
           SOURCE=$MODULE-$VERSION-source.tar.bz2
+         SOURCE2=cups-1.4.5-fix_broken_locking-1.patch.bz2
       SOURCE_URL=ftp://ftp.easysw.com/pub/$MODULE/$VERSION
+     SOURCE2_URL=$PATCH_URL
       SOURCE_VFY=sha1:42fb1ca00ee7291561564d3072716eb2045f05d1
+     SOURCE2_VFY=sha1:78d1f0eaa482d60ff4deb07b7328e2f93dd1a169
         WEB_SITE=http://www.cups.org
          ENTERED=20020218
          UPDATED=20110107


More information about the Lunar-commits mailing list