[PATCH] NP_GetMIMEDescription() returns const char*
Thomas Meyer
thomas at m3y3r.de
Sat Dec 10 05:11:04 PST 2011
# HG changeset patch
# User Thomas Meyer <thomas at m3y3r.de>
# Date 1323522372 -3600
# Node ID 2b69ce95feb38023b2be8bec3bc87f2219d0c80b
# Parent 3674bf4ef962a752a05bf7bfa5aee19a817c4834
/usr/include/xulrunner-sdk-2/npfunctions.h defines "const char* NP_GetMIMEDescription(void);"
make icedtea-web version also return a const char*
This fix is needed to make icedtea-web compile on Fedora 16.
diff -r 3674bf4ef962 -r 2b69ce95feb3 plugin/icedteanp/IcedTeaNPPlugin.cc
--- a/plugin/icedteanp/IcedTeaNPPlugin.cc Fri Dec 09 19:05:30 2011 +0100
+++ b/plugin/icedteanp/IcedTeaNPPlugin.cc Sat Dec 10 14:06:12 2011 +0100
@@ -2291,7 +2291,7 @@
// Returns a string describing the MIME type that this plugin
// handles.
-char*
+const char*
NP_GetMIMEDescription ()
{
PLUGIN_DEBUG ("NP_GetMIMEDescription\n");
More information about the distro-pkg-dev
mailing list