mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
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>
This commit is contained in:
parent
f4e8c82d19
commit
b1f4d76293
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=239033
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= nspluginwrapper
|
||||
PORTVERSION= 1.2.2
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= www linux emulators
|
||||
MASTER_SITES= http://gwenole.beauchesne.info/projects/nspluginwrapper/files/
|
||||
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${RPMFILE}
|
||||
@ -53,6 +53,8 @@ post-extract:
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's,/usr/X11R6,${LOCALBASE},g' \
|
||||
${WRKSRC}/src/npw-config.c
|
||||
${RM} ${WRKSRC}/usr/lib/nspluginwrapper/i386/linux/npviewer.orig
|
||||
|
||||
post-install:
|
||||
${MKDIR} ${LIBDIR}/i386/linux
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/usr/lib/nspluginwrapper/i386/linux/* \
|
||||
|
7
www/nspluginwrapper-devel/files/patch-ulimit
Normal file
7
www/nspluginwrapper-devel/files/patch-ulimit
Normal file
@ -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
|
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= nspluginwrapper
|
||||
PORTVERSION= 1.2.2
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= www linux emulators
|
||||
MASTER_SITES= http://gwenole.beauchesne.info/projects/nspluginwrapper/files/
|
||||
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${RPMFILE}
|
||||
@ -53,6 +53,8 @@ post-extract:
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's,/usr/X11R6,${LOCALBASE},g' \
|
||||
${WRKSRC}/src/npw-config.c
|
||||
${RM} ${WRKSRC}/usr/lib/nspluginwrapper/i386/linux/npviewer.orig
|
||||
|
||||
post-install:
|
||||
${MKDIR} ${LIBDIR}/i386/linux
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/usr/lib/nspluginwrapper/i386/linux/* \
|
||||
|
7
www/nspluginwrapper/files/patch-ulimit
Normal file
7
www/nspluginwrapper/files/patch-ulimit
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user