[icedtea-web] Added npapi-fix patch so that the plug-in compiles with xulrunner 8

Deepak Bhole dbhole at fedoraproject.org
Tue Nov 8 22:50:53 UTC 2011


commit 0f49ffdaa867a3c42077c28e66d1275e4c546ca6
Author: Deepak Bhole <dbhole at redhat.com>
Date:   Tue Nov 8 17:50:45 2011 -0500

    Added npapi-fix patch so that the plug-in compiles with xulrunner 8

 icedtea-web-1.1.4-npapi-fix.patch |   12 ++++++++++++
 icedtea-web.spec                  |    4 ++++
 2 files changed, 16 insertions(+), 0 deletions(-)
---
diff --git a/icedtea-web-1.1.4-npapi-fix.patch b/icedtea-web-1.1.4-npapi-fix.patch
new file mode 100644
index 0000000..79ca0a6
--- /dev/null
+++ b/icedtea-web-1.1.4-npapi-fix.patch
@@ -0,0 +1,12 @@
+diff -up ./plugin/icedteanp/IcedTeaNPPlugin.cc.sav ./plugin/icedteanp/IcedTeaNPPlugin.cc
+--- ./plugin/icedteanp/IcedTeaNPPlugin.cc.sav	2011-11-08 17:27:29.046520865 -0500
++++ ./plugin/icedteanp/IcedTeaNPPlugin.cc	2011-11-08 17:27:40.469611421 -0500
+@@ -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");
diff --git a/icedtea-web.spec b/icedtea-web.spec
index 47694d0..cf2f638 100644
--- a/icedtea-web.spec
+++ b/icedtea-web.spec
@@ -48,6 +48,7 @@ Group:      Applications/Internet
 License:    LGPLv2+ and GPLv2 with exceptions
 URL:        http://icedtea.classpath.org/wiki/IcedTea-Web
 Source0:    http://icedtea.classpath.org/download/source/%{name}-%{version}.tar.gz
+Patch0:     %{name}-%{version}-npapi-fix.patch
 
 BuildRequires:  java-%{javaver}-openjdk-devel
 BuildRequires:  desktop-file-utils
@@ -95,6 +96,8 @@ This package contains Javadocs for the IcedTea-Web project.
 %prep
 %setup -q
 
+%patch0
+
 %build
 autoconf
 ./configure \
@@ -169,6 +172,7 @@ exit 0
 %changelog
 * Tue Nov 08 2011 Deepak Bhole <dbhole at redhat.com> 1.1.4
 - Updated to 1.1.4
+- Added npapi-fix patch so that the plug-in compiles with xulrunner 8 
 
 * Thu Sep 01 2011 Deepak Bhole <dbhole at redhat.com> 1.1.2-1
 - Updated to 1.1.2


More information about the scm-commits mailing list