From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Mar 10 19:30:17 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D9DAC106566B for ; Thu, 10 Mar 2011 19:30:17 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C83F58FC13 for ; Thu, 10 Mar 2011 19:30:17 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p2AJUHs6097381 for ; Thu, 10 Mar 2011 19:30:17 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p2AJUHPu097377; Thu, 10 Mar 2011 19:30:17 GMT (envelope-from gnats) Date: Thu, 10 Mar 2011 19:30:17 GMT Message-Id: <201103101930.p2AJUHPu097377@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: "J.R. Oldroyd" Cc: Subject: Re: ports/155417: [patch] www/nspluginwrapper: NSPlugin Viewer WARNING: unhandled variable 18 (< unknown variable> ) in NPN_GetValue() X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "J.R. Oldroyd" List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Mar 2011 19:30:17 -0000 The following reply was made to PR ports/155417; it has been noted by GNATS. From: "J.R. Oldroyd" To: bug-followup@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.