openbsd-ports/graphics/swfdec/patches/patch-plugin_plugin_c
martynas 466beaae32 - unbreak plugin;
- make plugin work with mozilla-firefox so that mozilla can go out;
- fix WANTLIB (from steven@);
ok steven@
2007-05-25 16:23:51 +00:00

24 lines
633 B
Plaintext

$OpenBSD: patch-plugin_plugin_c,v 1.2 2007/05/25 16:23:51 martynas Exp $
--- plugin/plugin.c.orig Thu Nov 21 10:51:38 2002
+++ plugin/plugin.c Thu May 24 19:05:49 2007
@@ -1,8 +1,9 @@
#include <stdio.h>
-#include <stdint.h>
+/* #include <stdint.h> */
#include <unistd.h>
+#include <sys/signal.h>
#include <sys/wait.h>
#include <config.h>
@@ -240,7 +241,7 @@ static void plugin_stream_as_file(NPP instance, NPStre
/* exported functions */
-NPError NP_GetValue(NPP instance, NPPVariable variable, void *value)
+NPError NP_GetValue(void* future, NPPVariable variable, void *value)
{
NPError err = NPERR_NO_ERROR;