swaped out visibility patch, applied for all archs now
authorJory Pratt <anarchy@gentoo.org>
Thu, 24 Nov 2005 03:45:18 +0000 (03:45 +0000)
committerJory Pratt <anarchy@gentoo.org>
Thu, 24 Nov 2005 03:45:18 +0000 (03:45 +0000)
Package-Manager: portage-2.0.53_rc7

www-client/mozilla-firefox/ChangeLog
www-client/mozilla-firefox/Manifest
www-client/mozilla-firefox/files/1.5/firefox-1.1-visibility.patch [new file with mode: 0644]
www-client/mozilla-firefox/mozilla-firefox-1.5_rc3-r1.ebuild

index ed4eaf867427e844f669357cef97f3bf9260b972..ce6dc06c67531c26c55ccac92cb4b540e13be62c 100644 (file)
@@ -1,6 +1,10 @@
 # ChangeLog for www-client/mozilla-firefox
 # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/mozilla-firefox/ChangeLog,v 1.107 2005/11/21 00:17:58 anarchy Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/mozilla-firefox/ChangeLog,v 1.108 2005/11/24 03:45:18 anarchy Exp $
+
+  24 Nov 2005; <anarchy@gentoo.org> +files/1.5/firefox-1.1-visibility.patch,
+  mozilla-firefox-1.5_rc3-r1.ebuild:
+  swaped out patch for visibility, using on all archs
 
 *mozilla-firefox-1.5_rc3-r1 (21 Nov 2005)
 
index 417edec5704f52968d5d5c892763942c406041a6..6526655b755f88e4854752e94335548f0c910294 100644 (file)
@@ -1,4 +1,5 @@
-MD5 f027a27b7b98a6ff8d89e66eb8d83098 ChangeLog 36557
+MD5 700fcbd77de6239d7ffaf5d56f7ae5eb ChangeLog 36726
+MD5 cc5756b8c7af5c88b248b86c73fc5c8d files/1.5/firefox-1.1-visibility.patch 930
 MD5 7847d262e628dcac303586fe02f2e8c4 files/1.5/firefox-cairo-canvas.patch 446
 MD5 91661761f2f232b08b74f5adc4f1eff0 files/1.5/firefox-nopangoxft.patch 839
 MD5 362f9e0b0f25b964f7120b68fb629ee0 files/1.5/firefox-visibility.patch 689
@@ -41,4 +42,4 @@ MD5 f48be110754a5106f06cd313c22c4337 files/svg-cairo-0.3.0-fix.patch 1063
 MD5 ce23390351fe8020387d93ee29e09a3d metadata.xml 160
 MD5 7ec6e77c0014718ffae4a55c76acd1db mozilla-firefox-1.0.7-r2.ebuild 8564
 MD5 b686423c9050edfcfd7ff72ea4081f09 mozilla-firefox-1.0.7-r3.ebuild 9734
-MD5 699f23f5022ea1b7d3b16ac41cc0fe05 mozilla-firefox-1.5_rc3-r1.ebuild 8788
+MD5 a9b9132aef328d7a91afec2cb2ec3c35 mozilla-firefox-1.5_rc3-r1.ebuild 8824
diff --git a/www-client/mozilla-firefox/files/1.5/firefox-1.1-visibility.patch b/www-client/mozilla-firefox/files/1.5/firefox-1.1-visibility.patch
new file mode 100644 (file)
index 0000000..e0665fe
--- /dev/null
@@ -0,0 +1,22 @@
+Index: configure
+===================================================================
+RCS file: /cvsroot/mozilla/configure,v
+retrieving revision 1.1443
+diff -u -p -6 -r1.1443 configure
+--- configure  2 Jun 2005 04:00:20 -0000       1.1443
++++ configure  6 Jun 2005 07:34:06 -0000
+@@ -7303,13 +7303,13 @@ else
+                       int foo_default = 1;
+ EOF
+                       ac_cv_visibility_pragma=no
+                       if ${CC-cc} -Werror -S conftest.c -o conftest.s >/dev/null 2>&1; then
+                         if grep '\.hidden.*foo_hidden' conftest.s >/dev/null; then
+                           if ! grep '\.hidden.*foo_default' conftest.s > /dev/null; then
+-                            ac_cv_visibility_pragma=yes
++                            ac_cv_visibility_pragma=no
+                           fi
+                         fi
+                       fi
+                       rm -f conftest.cs
+                     
+ fi
index 77c0292004b2b8bd6689957e09a7c5ba1c9b4cb3..8ade3292dfd3f6971334e135e597f08335517df2 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/mozilla-firefox/mozilla-firefox-1.5_rc3-r1.ebuild,v 1.1 2005/11/21 00:17:58 anarchy Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/mozilla-firefox/mozilla-firefox-1.5_rc3-r1.ebuild,v 1.2 2005/11/24 03:45:18 anarchy Exp $
 
 unset ALLOWED_FLAGS  # stupid extra-functions.sh ... bug 49179
 MOZ_FREETYPE2="no"   # Need to disable for newer .. remove here and in mozconfig
@@ -54,10 +54,9 @@ src_unpack() {
        # <taviso@gentoo.org> (26 Jun 2003)
        use alpha && epatch ${FILESDIR}/1.5/mozilla-1.3-alpha-stubs.patch
 
-       # amd64 visibility patch
-       if [[ ${ARCH} == amd64 ]] && [[ $(gcc-major-version) -ge 3 ]]; then
-           epatch ${FILESDIR}/1.5/firefox-visibility.patch
-       fi
+       # addresses visibility issues on ppc and amd64
+       # will not hurt to apply on other archs as well.
+       epatch ${FILESDIR}/1.5/firefox-1.1-visibility.patch
 
        # hppa patches from Ivar <orskaug@stud.ntnu.no>
        # <gmsoft@gentoo.org> (22 Dec 2004)
@@ -84,7 +83,7 @@ src_unpack() {
        # cairo-canvas patch, only needed to build against system cairo
        # epatch ${FILESDIR}/1.5/firefox-cairo-canvas.patch
 
-       # fedora patch
+       # patch from fedora to stop crashing with gnome-vfs
        epatch ${FILESDIR}/firefox-1.1-uriloader.patch
 
        ####################################