[Lunar-commits] <moonbase> cups: threads not safe with gnutls
Paul Bredbury
brebs at lunar-linux.org
Wed Feb 9 07:33:42 CET 2011
commit caf505905392afa533a5c6c8058615ad6423f555
Author: Paul Bredbury <brebs at lunar-linux.org>
Date: Wed Feb 9 13:33:42 2011 +0700
cups: threads not safe with gnutls
---
printer/cups/BUILD | 8 ++++++++
printer/cups/DETAILS | 2 +-
2 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/printer/cups/BUILD b/printer/cups/BUILD
index 8c2a52f..25c33eb 100644
--- a/printer/cups/BUILD
+++ b/printer/cups/BUILD
@@ -1,5 +1,13 @@
(
+ if in_depends $MODULE gnutls ; then
+ # Prevent crash when using print preview in firefox4
+ # 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"
+ fi &&
+
default_config &&
sedit "s:-Os -g::" Makedefs &&
sedit "s:-fstack-protector::" Makedefs &&
diff --git a/printer/cups/DETAILS b/printer/cups/DETAILS
index 2b2d2d5..4132e1b 100644
--- a/printer/cups/DETAILS
+++ b/printer/cups/DETAILS
@@ -2,7 +2,7 @@
VERSION=1.4.6
SOURCE=$MODULE-$VERSION-source.tar.bz2
SOURCE_URL=ftp://ftp.easysw.com/pub/$MODULE/$VERSION
- SOURCE_VFY=sha1:42fb1ca00ee7291561564d3072716eb2045f05d1
+ SOURCE_VFY=sha1:42fb1ca00ee7291561564d3072716eb2045f05d1
WEB_SITE=http://www.cups.org
ENTERED=20020218
UPDATED=20110107
More information about the Lunar-commits
mailing list