From 4141f5b04aab597f88a617a82649a404c773469a Mon Sep 17 00:00:00 2001 From: root Date: Thu, 10 Nov 2011 23:14:50 +0000 Subject: Thu Nov 10 23:14:50 UTC 2011 --- extra/icedtea-web/PKGBUILD | 16 ++++++++++------ extra/icedtea-web/icedtea-web-1.1.4-npapi-fix.patch | 12 ++++++++++++ 2 files changed, 22 insertions(+), 6 deletions(-) create mode 100644 extra/icedtea-web/icedtea-web-1.1.4-npapi-fix.patch (limited to 'extra/icedtea-web') diff --git a/extra/icedtea-web/PKGBUILD b/extra/icedtea-web/PKGBUILD index e1777c791..f2e20860c 100644 --- a/extra/icedtea-web/PKGBUILD +++ b/extra/icedtea-web/PKGBUILD @@ -1,24 +1,28 @@ -# $Id: PKGBUILD 139127 2011-09-30 05:42:46Z andyrtr $ +# $Id: PKGBUILD 142413 2011-11-09 05:54:47Z andyrtr $ # Maintainer: Andreas Radke pkgbase=icedtea-web pkgname=('icedtea-web' 'icedtea-web-doc') -pkgver=1.1.3 +pkgver=1.1.4 pkgrel=1 arch=('i686' 'x86_64') url="http://icedtea.classpath.org/wiki/IcedTea-Web" license=('GPL2') makedepends=('openjdk6' 'zip' 'xulrunner') -source=(http://icedtea.classpath.org/download/source/$pkgname-$pkgver.tar.gz) -md5sums=('0e2e653c7436d81edcbc1d4255571ab6') -sha1sums=('5c8d8fbbdc9db0b7113a6cced751c428b4d3ea37') - +source=(http://icedtea.classpath.org/download/source/$pkgname-$pkgver.tar.gz + icedtea-web-1.1.4-npapi-fix.patch) +md5sums=('1ed24b7e58da26471187dfae80b020b6' + '81ac36e05ea1b55f1580bdb28c24f4db') build() { _javaver=6 _jvmdir=/usr/lib/jvm/java-${_javaver}-openjdk cd "$srcdir/$pkgname-$pkgver" + + # fix build with Xulrunner 8 + patch -Np1 -i ${srcdir}/icedtea-web-1.1.4-npapi-fix.patch + ./configure --prefix=/usr/lib/jvm/java-6-openjdk \ --datarootdir=/usr/share make diff --git a/extra/icedtea-web/icedtea-web-1.1.4-npapi-fix.patch b/extra/icedtea-web/icedtea-web-1.1.4-npapi-fix.patch new file mode 100644 index 000000000..79ca0a6c0 --- /dev/null +++ b/extra/icedtea-web/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"); -- cgit v1.2.3-54-g00ecf