- Fix issue with linux opera plugins

Submitted by:	Andriy Voskoboinyk <s3erios@gmail.com>
PR:	196001
This commit is contained in:
Alex Kozlov
2014-12-23 12:23:01 +00:00
parent b565ede2b6
commit 5a77afa701
2 changed files with 11 additions and 1 deletions

View File

@@ -2,7 +2,7 @@
PORTNAME= opera
PORTVERSION= ${OPERA_VER}
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= www ipv6
MASTER_SITES= ftp://ftp.opera.com/pub/opera/${MASTER_SITES_VER_PATH}/ \
ftp://opera.inode.at/${MASTER_SITES_VER_PATH}/ \

View File

@@ -0,0 +1,10 @@
Index: lib/opera/pluginwrapper/operapluginwrapper
@@ -14,6 +14,8 @@
fi
done
+[ "${wrappertype}" != "native" ] && unset LD_LIBRARY_PATH
+
wrapper="$0"-"${wrappertype}"
exec ${OPERA_PLUGINWRAPPER_PREFIX} "$wrapper" "$@"