Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Mar 2011 19:30:17 GMT
From:      "J.R. Oldroyd" <jr@opal.com>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/155417: [patch] www/nspluginwrapper: NSPlugin Viewer WARNING: unhandled variable 18 (&lt; unknown variable&gt; ) in NPN_GetValue()
Message-ID:  <201103101930.p2AJUHPu097377@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/155417; it has been noted by GNATS.

From: "J.R. Oldroyd" <jr@opal.com>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/155417: [patch] www/nspluginwrapper: NSPlugin Viewer
 WARNING: unhandled variable 18 (&lt;unknown variable&gt;) 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201103101930.p2AJUHPu097377>