#include "npplat.h"
#include "nsIOsmozilla.h"
+@@ -104,7 +104,7 @@
+
+ // global to get plugins name & description
+ NPError NS_PluginGetValue(NPPVariable aVariable, void *aValue);
+-char* NPP_GetMIMEDescription(void);
++NPP_GET_MIME_CONST char* NPP_GetMIMEDescription(void);
+
+
+ //#define NO_GPAC
--- gpac/applications/osmozilla/osmozilla.cpp.orig 2008-10-06 17:17:57.000000000 +0200
+++ gpac/applications/osmozilla/osmozilla.cpp 2011-03-20 10:12:46.068709568 +0100
@@ -856,19 +856,19 @@
#include <nsIServiceManager.h>
int main( void ) { return 0; }
EOF
+--- gpac/applications/osmozilla/osmozilla.cpp~ 2012-01-22 17:15:26.902074831 +0100
++++ gpac/applications/osmozilla/osmozilla.cpp 2012-01-22 17:17:43.514543060 +0100
+@@ -91,7 +91,7 @@
+ "application/x-gpac::GPAC plugin;" \
+
+
+-char* NPP_GetMIMEDescription(void)
++NPP_GET_MIME_CONST char* NPP_GetMIMEDescription(void)
+ {
+ return GPAC_PLUGIN_MIMETYPES;
+ }