ports/155417: [patch] www/nspluginwrapper: NSPlugin Viewer WARNING: unhandled variable 18 (< unknown variable> ) in NPN_GetValue()

J.R. Oldroyd jr at opal.com
Thu Mar 10 19:30:17 UTC 2011


The following reply was made to PR ports/155417; it has been noted by GNATS.

From: "J.R. Oldroyd" <jr at opal.com>
To: bug-followup at FreeBSD.org
Cc:  
Subject: Re: ports/155417: [patch] www/nspluginwrapper: NSPlugin Viewer
 WARNING: unhandled variable 18 (<unknown variable>) in NPN_GetValue()
Date: Thu, 10 Mar 2011 13:41:21 -0500

 Had a couple of emails asking how to use this, since just installing
 the patch files and rebuilding the port doesn't work.
 
 nspluginwrapper's npviewer.bin is built in a Linux build environment
 and the Linux binary is included in the FreeBSD port.  npviewer.bin
 is not recompiled when you build the FreeBSD port.  You need to add
 this patch, then recompile the viewer in a Linux environment.
 
 I put some notes about this here:
     http://opal.com/jr/freebsd/ports/www/nspluginwrapper/
 
 To anyone who decides to commit this: you'll need to also rebuild the
 port's npviewer.bin in a Linux enviromnent and update that binary in the
 port too.
 
 I also updated the patch some more, since I apparently used an incorrect
 reference version of npapi.h before and so have had to update the names
 of some NPP variables that were wrong in the other version.  Use the patch
 files at the above URL, rather than those in the PR.
 
 It turns out that a similar patch is already applied in the port
 www/nspluginwrapper-devel and the npviewer.bin binary there already
 contains the patch.  Using that port may be quicker for you.



More information about the freebsd-ports-bugs mailing list