head	1.2;
access;
symbols
	RELEASE_8_1_0:1.1
	RELEASE_7_3_0:1.1
	old_RELEASE_8_0_0:1.1;
locks; strict;
comment	@# @;


1.2
date	2010.08.23.21.52.39;	author jkim;	state dead;
branches;
next	1.1;

1.1
date	2009.08.06.15.59.17;	author bsam;	state Exp;
branches;
next	;


desc
@@


1.2
log
@- Add a trivial fix for NPAPI PrivateMode.  It should fix annoying warnings
such as this:

*** NSPlugin Viewer *** WARNING: unhandled variable 18 (<unknown variable>) in NPN_GetValue()

See the following URL for more information:

https://wiki.mozilla.org/Plugins:PrivateMode

- Replace a trivial shell script with our own version.
@
text
@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
@


1.1
log
@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>
@
text
@@

