summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2007-04-05 04:52:52 +0000
committerJeroen Roovers <jer@gentoo.org>2007-04-05 04:52:52 +0000
commit878ad3bd535dc1d091e06ae5c12451cd1ef7972e (patch)
tree23c3ccec573f1fbffaf49d062583949a1ebbe556 /www-client
parentRemoved old version. Revbumped 2.1.1 with some fixes I've sent upstream. (diff)
downloadgentoo-2-878ad3bd535dc1d091e06ae5c12451cd1ef7972e.tar.gz
gentoo-2-878ad3bd535dc1d091e06ae5c12451cd1ef7972e.tar.bz2
gentoo-2-878ad3bd535dc1d091e06ae5c12451cd1ef7972e.zip
Patch from Toffanin for x86-fbsd (bug #171841).
(Portage version: 2.1.2.2)
Diffstat (limited to 'www-client')
-rw-r--r--www-client/opera/ChangeLog5
-rw-r--r--www-client/opera/files/digest-opera-9.106
-rw-r--r--www-client/opera/opera-9.10.ebuild22
3 files changed, 29 insertions, 4 deletions
diff --git a/www-client/opera/ChangeLog b/www-client/opera/ChangeLog
index 4030b0c61e62..be6b7095b370 100644
--- a/www-client/opera/ChangeLog
+++ b/www-client/opera/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for www-client/opera
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.80 2007/02/06 05:02:33 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.81 2007/04/05 04:52:51 jer Exp $
+
+ 05 Apr 2007; Jeroen Roovers <jer@gentoo.org> opera-9.10.ebuild:
+ Patch from Toffanin for x86-fbsd (bug #171841).
06 Feb 2007; Jeroen Roovers <jer@gentoo.org> metadata.xml:
Set myself up as (co)maintainer while axxo is away. You know, just to catch
diff --git a/www-client/opera/files/digest-opera-9.10 b/www-client/opera/files/digest-opera-9.10
index 434740d92e76..373a89fbc5cf 100644
--- a/www-client/opera/files/digest-opera-9.10
+++ b/www-client/opera/files/digest-opera-9.10
@@ -1,12 +1,18 @@
MD5 dccdc5252ffc6658f3c46f32c64c8219 opera-9.10-20061214.1-static-qt.i386-en.tar.bz2 6719119
RMD160 66802961788986263dd46b7bc4790d6f1aae39f1 opera-9.10-20061214.1-static-qt.i386-en.tar.bz2 6719119
SHA256 b1c7152a4c71433cb4c3bf1ae7fc148fef3ced87e658a65530e8d478db089f7f opera-9.10-20061214.1-static-qt.i386-en.tar.bz2 6719119
+MD5 72bcdaf0d674590e913ff85617a80726 opera-9.10-20061214.1-static-qt.i386.freebsd-en.tar.bz2 6469740
+RMD160 e36496dab7ef2bcd0461b764cc6505e215207390 opera-9.10-20061214.1-static-qt.i386.freebsd-en.tar.bz2 6469740
+SHA256 d9ef50faa78daa52f0c204b3e71620de439880b59279b573dd7dd727f2fbb377 opera-9.10-20061214.1-static-qt.i386.freebsd-en.tar.bz2 6469740
MD5 d67428a09a036e786efc22e03150a344 opera-9.10-20061214.1-static-qt.ppc-en.tar.bz2 6768592
RMD160 6b570dc360affd8c76d055d38f2583c6387f465e opera-9.10-20061214.1-static-qt.ppc-en.tar.bz2 6768592
SHA256 ecf0955829cf8bc19efea85d782e5d84ff3c3b54d2e1c7cb982fac90ed63d2c6 opera-9.10-20061214.1-static-qt.ppc-en.tar.bz2 6768592
MD5 e7bcbbaa48a63827d0efc60cf6fef68d opera-9.10-20061214.1-static-qt.sparc-en.tar.bz2 6665822
RMD160 70d3fb8119105b6c8ab033de0647a1810e225aed opera-9.10-20061214.1-static-qt.sparc-en.tar.bz2 6665822
SHA256 72412222538de10be2764c391bfb11a087b2a50a110cbe84f690513e81303c92 opera-9.10-20061214.1-static-qt.sparc-en.tar.bz2 6665822
+MD5 fc6d9252233f784df8fe9957dce754ce opera-9.10-20061214.4-shared-qt.i386.freebsd-en.tar.bz2 5070029
+RMD160 89455be5dca73a536d1bd4f74f6f0088fde0807e opera-9.10-20061214.4-shared-qt.i386.freebsd-en.tar.bz2 5070029
+SHA256 eef25201c0c45d6ff5eae4739844dc9ef624cea8d7e9f9809506a9789f2cb7e4 opera-9.10-20061214.4-shared-qt.i386.freebsd-en.tar.bz2 5070029
MD5 f4d7007948c2841583314f321ff88e30 opera-9.10-20061214.6-shared-qt.i386-en.tar.bz2 5141554
RMD160 e7ffc8a1773a8e803263deae03ab3954d317b62b opera-9.10-20061214.6-shared-qt.i386-en.tar.bz2 5141554
SHA256 df88e002895c01e7ac34cc52378f2234ae95a606c87d57470eae04c805764785 opera-9.10-20061214.6-shared-qt.i386-en.tar.bz2 5141554
diff --git a/www-client/opera/opera-9.10.ebuild b/www-client/opera/opera-9.10.ebuild
index 70b4ca00dc1c..6bdd29eee03b 100644
--- a/www-client/opera/opera-9.10.ebuild
+++ b/www-client/opera/opera-9.10.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/opera/opera-9.10.ebuild,v 1.7 2007/01/09 12:22:55 mcummings Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/opera/opera-9.10.ebuild,v 1.8 2007/04/05 04:52:51 jer Exp $
inherit eutils gnome2
@@ -9,7 +9,7 @@ HOMEPAGE="http://www.opera.com"
SLOT="0"
LICENSE="OPERA-9.0"
-KEYWORDS="amd64 ppc sparc x86"
+KEYWORDS="amd64 ppc sparc x86 ~x86-fbsd"
IUSE="qt-static spell gnome"
RESTRICT="strip mirror"
@@ -26,7 +26,9 @@ SRC_URI="
amd64? ( qt-static? ( ${OPERA_URI}i386/static/${PN}-${OPERAVER}.1-static-qt.i386-${OPERALNG}.tar.bz2 ) )
amd64? ( !qt-static? ( ${OPERA_URI}i386/shared/${PN}-${OPERAVER}.6-shared-qt.i386-${OPERALNG}.tar.bz2 ) )
sparc? ( ${OPERA_URI}sparc/static/${PN}-${OPERAVER}.1-static-qt.sparc-${OPERALNG}.tar.bz2 )
- ppc? ( ${OPERA_URI}ppc/static/${PN}-${OPERAVER}.1-static-qt.ppc-${OPERALNG}.tar.bz2 )"
+ ppc? ( ${OPERA_URI}ppc/static/${PN}-${OPERAVER}.1-static-qt.ppc-${OPERALNG}.tar.bz2 )
+ x86-fbsd? ( !qt-static? ( mirror://opera/unix/freebsd/${OPERAFTPDIR}/shared/opera-${OPERAVER}.4-shared-qt.i386.freebsd-${OPERALNG}.tar.bz2 ) )
+ x86-fbsd? ( qt-static? ( mirror://opera/unix/freebsd/${OPERAFTPDIR}/static/opera-${OPERAVER}.1-static-qt.i386.freebsd-${OPERALNG}.tar.bz2 ) )"
DEPEND=">=sys-apps/sed-4
amd64? ( sys-apps/setarch )"
@@ -125,6 +127,20 @@ src_install() {
dodir /etc/revdep-rebuild
echo 'SEARCH_DIRS_MASK="/opt/opera/lib/opera/plugins"' > ${D}/etc/revdep-rebuild/90opera
+
+ # Change libz.so.3 to libz.so.1 for gentoo/freebsd
+ if [ ${ARCH} = "x86-fbsd" ]; then
+ scanelf -qR -N libz.so.3 -F "#N" "${D}"/opt/${PN}/ | \
+ while read i; do
+ if [[ $(strings "$i" | fgrep -c libz.so.3) -ne 1 ]];
+ then
+ export SANITY_CHECK_LIBZ_FAILED=1
+ break
+ fi
+ sed -i -e 's/libz\.so\.3/libz.so.1/g' "$i"
+ done
+ [[ "$SANITY_CHECK_LIBZ_FAILED" = "1" ]] && die "failed to change libz.so.3 to libz.so.1"
+ fi
}
pkg_postinst() {