summaryrefslogtreecommitdiff
path: root/www/icedtea-web/patches/patch-plugin_icedteanp_IcedTeaNPPlugin.cc
blob: 7860a96f4f65d8ee969ef67290c8cb51b90be37e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-plugin_icedteanp_IcedTeaNPPlugin.cc,v 1.2 2011/12/21 13:09:31 wiz Exp $

Fix build with gcc-4.5.

--- plugin/icedteanp/IcedTeaNPPlugin.cc.orig	2011-08-17 16:01:19.000000000 +0000
+++ plugin/icedteanp/IcedTeaNPPlugin.cc
@@ -2262,7 +2262,7 @@ NP_Initialize (NPNetscapeFuncs* browserT
 
 // Returns a string describing the MIME type that this plugin
 // handles.
-char*
+const char*
 NP_GetMIMEDescription ()
 {
   PLUGIN_DEBUG ("NP_GetMIMEDescription\n");