summaryrefslogtreecommitdiff
path: root/www/nspluginwrapper-devel/files
diff options
context:
space:
mode:
authorBoris Samorodov <bsam@FreeBSD.org>2009-08-06 15:59:17 +0000
committerBoris Samorodov <bsam@FreeBSD.org>2009-08-06 15:59:17 +0000
commitb1f4d76293e071b149d76d033b6d254252834222 (patch)
tree1136efb3f22a4cda8b4d2b6795807ea3c271add4 /www/nspluginwrapper-devel/files
parent- Mark MAKE_JOBS_UNSAFE (diff)
Limit the stack size for plugins. Linux glibc threading behaves
slightly differently with a smaller stack size and the Flash plugins rely on this behaviour. Suggested by: dchagin Patch by: nox Discussed at: freebsd-emulation Reminded by: Tijl Coosemans <tijl@ulyssis.org>
Notes
Notes: svn path=/head/; revision=239033
Diffstat (limited to 'www/nspluginwrapper-devel/files')
-rw-r--r--www/nspluginwrapper-devel/files/patch-ulimit7
1 files changed, 7 insertions, 0 deletions
diff --git a/www/nspluginwrapper-devel/files/patch-ulimit b/www/nspluginwrapper-devel/files/patch-ulimit
new file mode 100644
index 000000000000..a372ddb4e8ec
--- /dev/null
+++ b/www/nspluginwrapper-devel/files/patch-ulimit
@@ -0,0 +1,7 @@
+Index: usr/lib/nspluginwrapper/i386/linux/npviewer
+@@ -1,4 +1,5 @@
+ #!/bin/sh
+ TARGET_OS=linux
+ TARGET_ARCH=i386
++ulimit -s 32768 2>/dev/null
+ . /usr/local/lib/nspluginwrapper/noarch/npviewer