nspluginwrapper patch for testing (was: Re: flash10 vs f10)
Tijl Coosemans
tijl at ulyssis.org
Thu Aug 6 09:31:11 UTC 2009
On Tuesday 30 June 2009 20:41:46 Juergen Lock wrote:
> New version that redirects possible error messages to /dev/null:
> (in case limit is already lower than 32M...)
>
> Index: Makefile
> ===================================================================
> RCS file: /home/pcvs/ports/www/nspluginwrapper/Makefile,v
> retrieving revision 1.13
> diff -u -p -r1.13 Makefile
> --- Makefile 19 Mar 2009 17:28:49 -0000 1.13
> +++ Makefile 30 Jun 2009 16:31:29 -0000
> @@ -7,7 +7,7 @@
>
> PORTNAME= nspluginwrapper
> PORTVERSION= 1.2.2
> -PORTREVISION= 2
> +PORTREVISION= 3
> 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/* \
> Index: 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
Can this be committed before the 8.0 ports freeze?
More information about the freebsd-emulation
mailing list