$NetBSD: patch-ae,v 1.2 2011/11/24 14:13:26 mrg Exp $ --- extensions/source/nsplugin/source/npshell.cxx.orig 2008-07-16 13:13:01.000000000 -0700 +++ extensions/source/nsplugin/source/npshell.cxx 2011-11-24 04:49:06.000000000 -0800 @@ -79,7 +79,7 @@ //http://qa.openoffice.org/issues/show_bug.cgi?id=82545 //https://bugzilla.mozilla.org/show_bug.cgi?id=241262 -#ifdef UNIX +#if 0 /* def UNIX */ /* types provided by nptypes.h */ # ifndef _UINT32 # if defined(__alpha) || defined(__LP64__) typedef unsigned int uint32; @@ -402,7 +402,7 @@ MIMETYPE_OASIS_OPENDOCUMENT_PRESENTATION_TEMPLATE_ASCII ":otp:OpenDocument Presentation Template;" MIMETYPE_OASIS_OPENDOCUMENT_FORMULA_ASCII ":odf:OpenDocument Formula;" ); -char* +const char* NPP_GetMIMEDescription(void) { debug_fprintf(NSP_LOG_APPEND, "print by Netscape Plugin, NPP_GetMIMEDescription:%s.\n", pMimeTypes);