summaryrefslogtreecommitdiff
path: root/extra/icedtea-web
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-11-10 23:14:50 +0000
committerroot <root@rshg054.dnsready.net>2011-11-10 23:14:50 +0000
commit4141f5b04aab597f88a617a82649a404c773469a (patch)
treeb293827df78bf1e9b7059db63c04c3f7ab854ae6 /extra/icedtea-web
parent7b0cdd65ac7bcd3c7597b528a10de58e4e0a430f (diff)
Thu Nov 10 23:14:50 UTC 2011
Diffstat (limited to 'extra/icedtea-web')
-rw-r--r--extra/icedtea-web/PKGBUILD16
-rw-r--r--extra/icedtea-web/icedtea-web-1.1.4-npapi-fix.patch12
2 files changed, 22 insertions, 6 deletions
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 <andyrtr@archlinux.org>
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");