pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/multimedia/mplayer-plugin fix xulrunner-1.9.2.x build ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/d5e50f871d34
branches: trunk
changeset: 574627:d5e50f871d34
user: tnn <tnn%pkgsrc.org@localhost>
date: Wed Apr 21 15:58:03 2010 +0000
description:
fix xulrunner-1.9.2.x build breakage reported on pkgsrc-users@
diffstat:
multimedia/mplayer-plugin/distinfo | 8 +++-----
multimedia/mplayer-plugin/patches/patch-aa | 17 ++++++++++-------
multimedia/mplayer-plugin/patches/patch-ab | 9 ---------
multimedia/mplayer-plugin/patches/patch-ad | 9 ---------
multimedia/mplayer-plugin/patches/patch-ag | 22 ++++++++++++++--------
5 files changed, 27 insertions(+), 38 deletions(-)
diffs (140 lines):
diff -r 49075b0bbe48 -r d5e50f871d34 multimedia/mplayer-plugin/distinfo
--- a/multimedia/mplayer-plugin/distinfo Wed Apr 21 15:26:00 2010 +0000
+++ b/multimedia/mplayer-plugin/distinfo Wed Apr 21 15:58:03 2010 +0000
@@ -1,11 +1,9 @@
-$NetBSD: distinfo,v 1.1.1.1 2009/09/14 08:56:08 tnn Exp $
+$NetBSD: distinfo,v 1.2 2010/04/21 15:58:03 tnn Exp $
SHA1 (mplayerplug-in-3.55.tar.gz) = 69726d4e16523b1a39c284efee081c31b0ea7f7f
RMD160 (mplayerplug-in-3.55.tar.gz) = e01224b14883a93211745be0a329a3f524f39d8c
Size (mplayerplug-in-3.55.tar.gz) = 281845 bytes
-SHA1 (patch-aa) = 2a6724f536ad8a08c7766dfb269458df12bb3603
-SHA1 (patch-ab) = 950bec845ef3120e8b63a2343e79d5ded99a8bfa
-SHA1 (patch-ad) = 06699a71bb0f8da969d11a812a544e3aefa4d9a7
+SHA1 (patch-aa) = 76af562fe428b474554218cc6763e8832f591acd
SHA1 (patch-ae) = 885eafce6747ed1f682eb78a6e15a473806924e3
SHA1 (patch-af) = 812a4921c4a467fbf6163292f04ef5888ef6e8ed
-SHA1 (patch-ag) = 0af0bcb4bc722e1be290e1b4ef13c45f36bb77d0
+SHA1 (patch-ag) = f4b58bce0e3128e4cb8c7466ad33b97a1eeba2fe
diff -r 49075b0bbe48 -r d5e50f871d34 multimedia/mplayer-plugin/patches/patch-aa
--- a/multimedia/mplayer-plugin/patches/patch-aa Wed Apr 21 15:26:00 2010 +0000
+++ b/multimedia/mplayer-plugin/patches/patch-aa Wed Apr 21 15:58:03 2010 +0000
@@ -1,12 +1,15 @@
-$NetBSD: patch-aa,v 1.1.1.1 2009/09/14 08:56:09 tnn Exp $
+$NetBSD: patch-aa,v 1.2 2010/04/21 15:58:03 tnn Exp $
---- Source/plugin.cpp.orig 2004-11-17 02:27:11.000000000 +0100
-+++ Source/plugin.cpp 2004-11-17 02:27:25.000000000 +0100
-@@ -34,6 +34,7 @@
+--- 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 "plugin.h"
- #include "nsIServiceManager.h"
- #include "nsIMemory.h"
++#include <assert.h>
++
+ #ifndef __PLUGIN_H__
+ #define __PLUGIN_H__
+ #ifdef BSD
diff -r 49075b0bbe48 -r d5e50f871d34 multimedia/mplayer-plugin/patches/patch-ab
--- a/multimedia/mplayer-plugin/patches/patch-ab Wed Apr 21 15:26:00 2010 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-$NetBSD: patch-ab,v 1.1.1.1 2009/09/14 08:56:09 tnn Exp $
-
---- Source/plugin-support.cpp.orig 2004-11-17 02:28:45.000000000 +0100
-+++ Source/plugin-support.cpp 2004-11-17 02:29:03.000000000 +0100
-@@ -1,3 +1,4 @@
-+#include <string.h>
- #include "plugin.h"
- #include <strings.h>
- #include <errno.h>
diff -r 49075b0bbe48 -r d5e50f871d34 multimedia/mplayer-plugin/patches/patch-ad
--- a/multimedia/mplayer-plugin/patches/patch-ad Wed Apr 21 15:26:00 2010 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-$NetBSD: patch-ad,v 1.1.1.1 2009/09/14 08:56:08 tnn Exp $
-
---- Source/plugin-list.cpp.orig 2004-11-17 02:32:12.000000000 +0100
-+++ Source/plugin-list.cpp 2004-11-17 02:32:32.000000000 +0100
-@@ -1,3 +1,4 @@
-+#include <string.h>
- #include "plugin.h"
- #include <errno.h>
- #ifndef _GNU_SOURCE
diff -r 49075b0bbe48 -r d5e50f871d34 multimedia/mplayer-plugin/patches/patch-ag
--- a/multimedia/mplayer-plugin/patches/patch-ag Wed Apr 21 15:26:00 2010 +0000
+++ b/multimedia/mplayer-plugin/patches/patch-ag Wed Apr 21 15:58:03 2010 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-ag,v 1.1.1.1 2009/09/14 08:56:09 tnn Exp $
+$NetBSD: patch-ag,v 1.2 2010/04/21 15:58:03 tnn Exp $
---- include/npupp.h.orig 2009-09-14 09:57:07.000000000 +0200
+--- include/npupp.h.orig 2010-04-21 15:52:56.000000000 +0000
+++ include/npupp.h
-@@ -0,0 +1,1292 @@
+@@ -0,0 +1,1298 @@
+/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
+/* ***** BEGIN LICENSE BLOCK *****
+ * Version: NPL 1.1/GPL 2.0/LGPL 2.1
@@ -59,12 +59,16 @@
+#define GENERATINGCFM 0
+#endif
+
++#include "nptypes.h"
++#define uint16 uint16_t
++#define int16 int16_t
++#define uint32 uint32_t
++#define int32 int32_t
++
+#ifndef _NPAPI_H_
+#include "npapi.h"
+#endif
+
-+#include "jri.h"
-+
+/******************************************************************************************
+ plug-in function table macros
+ for each function in and out of the plugin API we define
@@ -935,6 +939,7 @@
+
+#endif
+
++#if 0
+
+/* NPN_GetJavaEnv */
+
@@ -987,6 +992,7 @@
+
+#endif
+
++#endif /* if 0 */
+
+/* NPN_InvalidateRect */
+
@@ -1094,7 +1100,7 @@
+ NPP_PrintUPP print;
+ NPP_HandleEventUPP event;
+ NPP_URLNotifyUPP urlnotify;
-+ JRIGlobalRef javaClass;
++ void* javaClass;
+ NPP_GetValueUPP getvalue;
+ NPP_SetValueUPP setvalue;
+} NPPluginFuncs;
@@ -1114,8 +1120,8 @@
+ NPN_MemFreeUPP memfree;
+ NPN_MemFlushUPP memflush;
+ NPN_ReloadPluginsUPP reloadplugins;
-+ NPN_GetJavaEnvUPP getJavaEnv;
-+ NPN_GetJavaPeerUPP getJavaPeer;
++ void* getJavaEnv;
++ void* getJavaPeer;
+ NPN_GetURLNotifyUPP geturlnotify;
+ NPN_PostURLNotifyUPP posturlnotify;
+ NPN_GetValueUPP getvalue;
Home |
Main Index |
Thread Index |
Old Index