summaryrefslogtreecommitdiff
path: root/www/nspluginwrapper
diff options
context:
space:
mode:
authorpooka <pooka@pkgsrc.org>2011-01-20 13:06:15 +0000
committerpooka <pooka@pkgsrc.org>2011-01-20 13:06:15 +0000
commit3703f592d57b50d5f2428e5b6cee0fb76984e869 (patch)
tree0e9e3d35ff32c678d2b6193c2e7dfaacc38076ab /www/nspluginwrapper
parent5cfe56c33e15c1b1276c6595657ad9f2266ebaf6 (diff)
downloadpkgsrc-3703f592d57b50d5f2428e5b6cee0fb76984e869.tar.gz
Unset any predefined LD_PRELOAD before executing npviewer.bin (emul
conflict). This makes flash work in firefox run with a rumphijack tcp/ip stack. ok abs (maintainer)
Diffstat (limited to 'www/nspluginwrapper')
-rw-r--r--www/nspluginwrapper/Makefile4
-rw-r--r--www/nspluginwrapper/distinfo3
-rw-r--r--www/nspluginwrapper/patches/patch-ac18
3 files changed, 22 insertions, 3 deletions
diff --git a/www/nspluginwrapper/Makefile b/www/nspluginwrapper/Makefile
index 102545c5a87..c68a06711e3 100644
--- a/www/nspluginwrapper/Makefile
+++ b/www/nspluginwrapper/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.23 2011/01/13 13:39:40 wiz Exp $
+# $NetBSD: Makefile,v 1.24 2011/01/20 13:06:15 pooka Exp $
#
DISTNAME= nspluginwrapper-1.2.2
-PKGREVISION= 7
+PKGREVISION= 8
CATEGORIES= www
MASTER_SITES= http://gwenole.beauchesne.info/projects/nspluginwrapper/files/
EXTRACT_SUFX= .tar.bz2
diff --git a/www/nspluginwrapper/distinfo b/www/nspluginwrapper/distinfo
index fb1783616ec..28b4730a500 100644
--- a/www/nspluginwrapper/distinfo
+++ b/www/nspluginwrapper/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.8 2009/09/16 10:16:58 abs Exp $
+$NetBSD: distinfo,v 1.9 2011/01/20 13:06:15 pooka Exp $
SHA1 (nspluginwrapper-1.2.2.tar.bz2) = be581c39dcc1a8d9a5b3f81e4650f553a30cf249
RMD160 (nspluginwrapper-1.2.2.tar.bz2) = d5aa265966f87c51bb9ea4f2a079a87b74fdcbf3
@@ -8,3 +8,4 @@ RMD160 (nspluginwrapper-i386-1.2.2-1.x86_64.rpm) = 9cf3e6ac3e5171c2bbda71c082b6b
Size (nspluginwrapper-i386-1.2.2-1.x86_64.rpm) = 69425 bytes
SHA1 (patch-aa) = 28f9e18e519337852cb47d04ed0c1cea76b3416d
SHA1 (patch-ab) = 20dc1b6ff4036a0946dd469860eb9b6c129fdb7a
+SHA1 (patch-ac) = b42a1241abcbfc9344c810797785222cd79681ac
diff --git a/www/nspluginwrapper/patches/patch-ac b/www/nspluginwrapper/patches/patch-ac
new file mode 100644
index 00000000000..b54c27c6685
--- /dev/null
+++ b/www/nspluginwrapper/patches/patch-ac
@@ -0,0 +1,18 @@
+ $NetBSD: patch-ac,v 1.3 2011/01/20 13:06:15 pooka Exp $
+
+--- src/npw-viewer.sh.orig 2008-12-14 12:24:19.000000000 +0100
++++ src/npw-viewer.sh 2011-01-19 12:20:26.000000000 +0100
+@@ -40,6 +40,13 @@
+ ;;
+ esac
+
++case $OS in
++FreeBSD|NetBSD)
++ # preset LD_PRELOAD is most likely for the native emul
++ unset LD_PRELOAD
++ ;;
++esac
++
+ if test "$ARCH" != "$TARGET_ARCH"; then
+ case $TARGET_ARCH in
+ i386)