pkgsrc/multimedia/mplayer-plugin/patches/patch-aa
obache 64b96f55de * fixes build with xulrunner-2, include mozilla-config.h unconditionally.
PR#45110.
* change dependency on xulrunner to build only.

Not bump PKGREVISION, because it is inpossible to build after dependency was
switched to xulrunner-2.
XXX: still firefox-4.1 does not recognize this plugin as add-on for me.
2011-07-01 13:25:02 +00:00

25 lines
522 B
Text

$NetBSD: patch-aa,v 1.3 2011/07/01 13:25:02 obache Exp $
--- Source/plugin.h.orig 2008-01-03 00:20:34.000000000 +0000
+++ Source/plugin.h
@@ -35,6 +35,10 @@
*
* ***** END LICENSE BLOCK ***** */
+#include <stdlib.h>
+#include <string.h>
+#include <assert.h>
+
#ifndef __PLUGIN_H__
#define __PLUGIN_H__
#ifdef BSD
@@ -47,9 +51,7 @@
#define _GNU_SOURCE
#endif
#endif
-#ifdef GECKOSDK_ENABLED
#include "mozilla-config.h"
-#endif
#include "pluginbase.h"
#include "nsScriptablePeer.h"
#include "plugin-setup.h"