[icedtea-web/f16] Added npapi-fix patch so that the plug-in compiles with xulrunner 8
Deepak Bhole
dbhole at fedoraproject.org
Tue Nov 8 22:46:01 UTC 2011
commit 3b745358bb064f7771e19875ab1b60c82d584e3a
Author: Deepak Bhole <dbhole at redhat.com>
Date: Tue Nov 8 17:45:51 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 312f34b..16c2f4f 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-1
- Updated to 1.0.6
+- Added npapi-fix patch so that the plug-in compiles with xulrunner 8
* Wed Sep 28 2011 Deepak Bhole <dbhole at redhat.com> 1.1.3-1
- Updated to 1.1.3
More information about the scm-commits
mailing list