summaryrefslogtreecommitdiff
path: root/extra/icedtea-web-java7/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/icedtea-web-java7/PKGBUILD')
-rw-r--r--extra/icedtea-web-java7/PKGBUILD11
1 files changed, 8 insertions, 3 deletions
diff --git a/extra/icedtea-web-java7/PKGBUILD b/extra/icedtea-web-java7/PKGBUILD
index 7c1de7797..415e603af 100644
--- a/extra/icedtea-web-java7/PKGBUILD
+++ b/extra/icedtea-web-java7/PKGBUILD
@@ -4,13 +4,15 @@
pkgbase=icedtea-web-java7
pkgname=('icedtea-web-java7' 'icedtea-web-java7-doc')
pkgver=1.2.1
-pkgrel=1
+pkgrel=2
arch=('i686' 'x86_64')
url="http://icedtea.classpath.org/wiki/IcedTea-Web"
license=('GPL2')
makedepends=('jdk7-openjdk' 'zip' 'gtk2' 'libxtst' 'npapi-sdk' 'rhino' 'junit')
-source=(http://icedtea.classpath.org/download/source/${pkgbase/-java7/}-$pkgver.tar.gz)
-sha256sums=('134efcd429086a643ba03ec6e4da991527c3e5dfcd6ed6680a83824ad3f0cfd6')
+source=(http://icedtea.classpath.org/download/source/${pkgbase/-java7/}-$pkgver.tar.gz
+ fix_firefox_crash.diff)
+sha256sums=('134efcd429086a643ba03ec6e4da991527c3e5dfcd6ed6680a83824ad3f0cfd6'
+ '9391182fe8631c9eaea93e0e5a1daf0e42658963596fe4fcbe1ba1afaf775af3')
_javaver=7
_jvmdir=/usr/lib/jvm/java-${_javaver}-openjdk
@@ -18,6 +20,9 @@ _jvmdir=/usr/lib/jvm/java-${_javaver}-openjdk
build() {
cd "${srcdir}"/icedtea-web*
+ # fix firefox crash - https://bugs.archlinux.org/task/30969
+ patch -RNp1 -i ${srcdir}/fix_firefox_crash.diff
+
. /etc/profile.d/jre.sh
. /etc/profile.d/jdk.sh