summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2011-12-29 16:34:02 +0000
committerjoerg <joerg@pkgsrc.org>2011-12-29 16:34:02 +0000
commit3e565f611a952db09342bcc635595a87df1cb8fe (patch)
treefb06e7f0868f5232c6257c951a9d114f6c404ba5
parent977c3e0aca26b6d8a564709244dcbc9b1eca6d53 (diff)
downloadpkgsrc-3e565f611a952db09342bcc635595a87df1cb8fe.tar.gz
Deal with const changes in xulrunner.
-rw-r--r--multimedia/gecko-mediaplayer/distinfo5
-rw-r--r--multimedia/gecko-mediaplayer/patches/patch-src_np__entry.cpp16
-rw-r--r--multimedia/gecko-mediaplayer/patches/patch-src_npp__gate.cpp13
-rw-r--r--multimedia/gecko-mediaplayer/patches/patch-src_npupp.h13
4 files changed, 46 insertions, 1 deletions
diff --git a/multimedia/gecko-mediaplayer/distinfo b/multimedia/gecko-mediaplayer/distinfo
index 28f0a4009a8..fea8a39c186 100644
--- a/multimedia/gecko-mediaplayer/distinfo
+++ b/multimedia/gecko-mediaplayer/distinfo
@@ -1,6 +1,9 @@
-$NetBSD: distinfo,v 1.3 2011/07/12 14:11:58 obache Exp $
+$NetBSD: distinfo,v 1.4 2011/12/29 16:34:02 joerg Exp $
SHA1 (gecko-mediaplayer-1.0.4.tar.gz) = 1ad7de0a3ac5a9fa4680228f1b5f58831a8079f9
RMD160 (gecko-mediaplayer-1.0.4.tar.gz) = 163dd0363a8369c66fa04533791e1977c1fd0d7b
Size (gecko-mediaplayer-1.0.4.tar.gz) = 275024 bytes
SHA1 (patch-Makefile.in) = 4decd30aa412333e1c1c2adf8540b51a37201cb2
+SHA1 (patch-src_np__entry.cpp) = ec30faec30744af0f9e96be632feadf9f3fc29a4
+SHA1 (patch-src_npp__gate.cpp) = aa0b9a44eeff25b251962eb01b65ae1f7434354b
+SHA1 (patch-src_npupp.h) = 71ca14069a56ad8c73682252bc938a56bd99dc23
diff --git a/multimedia/gecko-mediaplayer/patches/patch-src_np__entry.cpp b/multimedia/gecko-mediaplayer/patches/patch-src_np__entry.cpp
new file mode 100644
index 00000000000..23fd329966f
--- /dev/null
+++ b/multimedia/gecko-mediaplayer/patches/patch-src_np__entry.cpp
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_np__entry.cpp,v 1.1 2011/12/29 16:34:03 joerg Exp $
+
+--- src/np_entry.cpp.orig 2011-12-29 14:02:59.000000000 +0000
++++ src/np_entry.cpp
+@@ -80,9 +80,9 @@ NPError OSCALL NP_GetEntryPoints(NPPlugi
+
+ #endif /* XP_WIN */
+
+-char *NPP_GetMIMEDescription();
++const char *NPP_GetMIMEDescription();
+
+-char *NP_GetMIMEDescription()
++const char *NP_GetMIMEDescription()
+ {
+ return NPP_GetMIMEDescription();
+ }
diff --git a/multimedia/gecko-mediaplayer/patches/patch-src_npp__gate.cpp b/multimedia/gecko-mediaplayer/patches/patch-src_npp__gate.cpp
new file mode 100644
index 00000000000..222db97ed4c
--- /dev/null
+++ b/multimedia/gecko-mediaplayer/patches/patch-src_npp__gate.cpp
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_npp__gate.cpp,v 1.1 2011/12/29 16:34:03 joerg Exp $
+
+--- src/npp_gate.cpp.orig 2011-12-29 14:05:17.000000000 +0000
++++ src/npp_gate.cpp
+@@ -44,7 +44,7 @@
+ #include "plugin_types.h"
+ #include "plugin_setup.h"
+
+-char *NPP_GetMIMEDescription(void)
++const char *NPP_GetMIMEDescription(void)
+ {
+ return GetMIMEDescription();
+ }
diff --git a/multimedia/gecko-mediaplayer/patches/patch-src_npupp.h b/multimedia/gecko-mediaplayer/patches/patch-src_npupp.h
new file mode 100644
index 00000000000..cec6ede0a8f
--- /dev/null
+++ b/multimedia/gecko-mediaplayer/patches/patch-src_npupp.h
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_npupp.h,v 1.1 2011/12/29 16:34:03 joerg Exp $
+
+--- src/npupp.h.orig 2011-12-29 14:02:31.000000000 +0000
++++ src/npupp.h
+@@ -700,7 +700,7 @@ extern "C" {
+
+ /* plugin meta member functions */
+
+- NP_EXPORT(char *) NP_GetMIMEDescription(void);
++ NP_EXPORT(const char *) NP_GetMIMEDescription(void);
+ NP_EXPORT(NPError) NP_Initialize(NPNetscapeFuncs *, NPPluginFuncs *);
+ NP_EXPORT(NPError) NP_Shutdown(void);
+ NP_EXPORT(NPError) NP_GetValue(void *future, NPPVariable aVariable, void *aValue);