summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2011-11-04 16:56:14 +0000
committerJeroen Roovers <jer@gentoo.org>2011-11-04 16:56:14 +0000
commit0790edec421b158106d1f5293396b9da09eae957 (patch)
tree933348de874e4a73b8b4cc96d28928ac5bc0779f /www-client
parenthttp://my.opera.com/desktopteam/blog/2011/11/04/opera-11-60 (diff)
downloadgentoo-2-0790edec421b158106d1f5293396b9da09eae957.tar.gz
gentoo-2-0790edec421b158106d1f5293396b9da09eae957.tar.bz2
gentoo-2-0790edec421b158106d1f5293396b9da09eae957.zip
Add LD_PRELOAD hack to prevent operapluginwrapper from segfaulting when loading libflashplayer.so (bug #363387).
(Portage version: 2.2.0_alpha72/cvs/Linux x86_64)
Diffstat (limited to 'www-client')
-rw-r--r--www-client/opera/ChangeLog10
-rw-r--r--www-client/opera/opera-11.60.1134.ebuild5
2 files changed, 12 insertions, 3 deletions
diff --git a/www-client/opera/ChangeLog b/www-client/opera/ChangeLog
index 97fa46f6d037..cd0b6a0695cd 100644
--- a/www-client/opera/ChangeLog
+++ b/www-client/opera/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for www-client/opera
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.655 2011/11/04 16:40:27 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.656 2011/11/04 16:56:14 jer Exp $
+
+ 04 Nov 2011; Jeroen Roovers <jer@gentoo.org> opera-11.60.1134.ebuild:
+ Add LD_PRELOAD hack to prevent operapluginwrapper from segfaulting when
+ loading libflashplayer.so (bug #363387).
+
+ 04 Nov 2011; Jeroen Roovers <jer@gentoo.org> opera-11.60.1134.ebuild:
+ Add LD_PRELOAD hack to prevent operapluginwrapper from segfaulting when
+ loading libflashplayer.so (bug #363387).
*opera-11.60.1134 (04 Nov 2011)
diff --git a/www-client/opera/opera-11.60.1134.ebuild b/www-client/opera/opera-11.60.1134.ebuild
index 94ed1b145c80..4fa278a0f6bf 100644
--- a/www-client/opera/opera-11.60.1134.ebuild
+++ b/www-client/opera/opera-11.60.1134.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/opera/opera-11.60.1134.ebuild,v 1.1 2011/11/04 16:40:27 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/opera/opera-11.60.1134.ebuild,v 1.2 2011/11/04 16:56:14 jer Exp $
EAPI="4"
@@ -161,9 +161,10 @@ src_prepare() {
# Create /usr/bin/opera wrapper
echo '#!/bin/sh' > ${PN}
- echo 'export OPERA_DIR=/usr/share/'"${PN}" >> ${PN}
+ echo 'export OPERA_DIR="/usr/share/'"${PN}"'"' >> ${PN}
echo 'export OPERA_PERSONALDIR=${OPERA_PERSONALDIR:-"${HOME}/.'${PN}'"}' \
>> ${PN}
+ echo 'export LD_PRELOAD="/usr/'$(get_libdir)'/libgtk-x11-2.0.so"' >> ${PN}
echo 'exec '"${OPREFIX}/${PN}/${PN}"' "$@"' >> ${PN}
# Change libz.so.3 to libz.so.1 for gentoo/freebsd