openbsd-ports/graphics/swfdec/patches/patch-plugin_plugin_c
jolan 32658e070e import of swfdec-0.2.2:
Swfdec is a library for rendering Flash animations and games.

WWW: http://swfdec.sourceforge.net/

ok pvalchev@
2003-06-24 08:11:14 +00:00

24 lines
620 B
Plaintext

$OpenBSD: patch-plugin_plugin_c,v 1.1.1.1 2003/06/24 08:11:14 jolan Exp $
--- plugin/plugin.c.orig Thu Nov 21 02:51:38 2002
+++ plugin/plugin.c Wed Jun 11 02:24:05 2003
@@ -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 in
/* 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;