rpms/thunderbird/F-10 thunderbird-2.0-visibility.patch, NONE, 1.1 thunderbird.spec, 1.125, 1.126
Jan Horak
xhorak at fedoraproject.org
Mon Aug 24 21:04:12 UTC 2009
Author: xhorak
Update of /cvs/pkgs/rpms/thunderbird/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv3150
Modified Files:
thunderbird.spec
Added Files:
thunderbird-2.0-visibility.patch
Log Message:
Fix build
thunderbird-2.0-visibility.patch:
configure | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- NEW FILE thunderbird-2.0-visibility.patch ---
diff -up mozilla/configure.vis mozilla/configure
--- mozilla/configure.vis 2009-08-19 14:43:58.000000000 +0200
+++ mozilla/configure 2009-08-19 15:15:11.000000000 +0200
@@ -8015,7 +8015,7 @@ EOF
if ${CC-cc} -Werror -S conftest.c -o conftest.s >/dev/null 2>&1; then
if egrep '\.(hidden|extern_private).*foo_hidden' conftest.s >/dev/null; then
if ! egrep '\.(hidden|extern_private).*foo_default' conftest.s > /dev/null; then
- ac_cv_visibility_pragma=yes
+ ac_cv_visibility_pragma=no
fi
fi
fi
Index: thunderbird.spec
===================================================================
RCS file: /cvs/pkgs/rpms/thunderbird/F-10/thunderbird.spec,v
retrieving revision 1.125
retrieving revision 1.126
diff -u -p -r1.125 -r1.126
--- thunderbird.spec 24 Aug 2009 20:50:18 -0000 1.125
+++ thunderbird.spec 24 Aug 2009 21:04:12 -0000 1.126
@@ -31,6 +31,7 @@ Source100: find-external-requires
# Build patches
Patch1: firefox-2.0-link-layout.patch
Patch2: firefox-1.0-prdtoa.patch
+Patch3: thunderbird-2.0-visibility.patch
Patch10: thunderbird-0.7.3-psfonts.patch
Patch11: thunderbird-0.7.3-gnome-uriloader.patch
@@ -105,6 +106,13 @@ cd mozilla
%patch1 -p1 -b .link-layout
%patch2 -p0
+# Pragma visibility is broken on most platforms for some reason.
+# It works on i386 so leave it alone there. Disable elsewhere.
+# See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20297
+%ifnarch i386
+%patch3 -p1
+%endif
+
%patch10 -p1 -b .psfonts
%patch11 -p1 -b .gnome-uriloader
%patch24 -p1 -b .default-applications
More information about the fedora-extras-commits
mailing list