openbsd-ports/x11/gtk-vnc/patches/patch-plugin_npshell_c
2010-11-05 13:52:59 +00:00

26 lines
744 B
Plaintext

$OpenBSD: patch-plugin_npshell_c,v 1.2 2010/11/05 13:52:59 ajacoutot Exp $
Don't call NPN_GetValue with NPNVToolkit. For unknown reasons
this doesn't work with xl 1.9.
--- plugin/npshell.c.orig Wed Jul 14 12:28:15 2010
+++ plugin/npshell.c Sun Oct 24 01:18:58 2010
@@ -81,7 +81,7 @@ Contributor(s): Adobe Systems Incorporated.
#include <string.h>
#include <npapi.h>
-#include <npupp.h>
+#include <prtypes.h>
#include "gtk-vnc-plugin.h"
@@ -174,7 +174,7 @@ NPP_New(NPMIMEType pluginType G_GNUC_UNUSED,
if (err != NPERR_NO_ERROR || supportsXEmbed != PR_TRUE)
return NPERR_INCOMPATIBLE_VERSION_ERROR;
-#if 1
+#if 0
err = NPN_GetValue (instance,
NPNVToolkit,
(void *)&toolkit);