summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorBenjamin Andresen2017-09-29 13:48:23 +0200
committerBenjamin Andresen2017-09-29 13:51:08 +0200
commit166a825f7bff3c3c3efbcd6392b756b07d38ccf6 (patch)
treeb82752a1992615186acd837359308652289eb6dc /PKGBUILD
parent9d8d2685505527f6c118ad8c66952285b22715fe (diff)
downloadaur-166a825f7bff3c3c3efbcd6392b756b07d38ccf6.tar.gz
Add: $proj: include patch to fix segfault
with glibc 2.26 strtok behavior was changed and planck is depending on the old now obsolete behavior
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD7
1 files changed, 5 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index bca169ff79e..1f2604b2c90 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname='planck'
conflicts=('planck-git')
pkgver=2.7.3
-pkgrel=2
+pkgrel=3
_pkgnamever=${pkgname}-${pkgver}
pkgdesc="A stand-alone ClojureScript REPL"
arch=('x86_64')
@@ -13,11 +13,14 @@ makedepends=('java-environment' 'cmake' 'leiningen' 'unzip' 'vim')
license=('EPL-1.0')
source=(
https://github.com/mfikes/${pkgname}/archive/${pkgver}.tar.gz
+ fix-segfault-due-to-strtok-glibc-v2.26-change.patch
)
-sha256sums=('16a620c33bc15c2f74ce1e80726c55c85f634443c9675c0c08292a964eb01780')
+sha256sums=('16a620c33bc15c2f74ce1e80726c55c85f634443c9675c0c08292a964eb01780'
+ 'f081ac6cf76d98e5458716c2059d1174880e5daaba9ae3212b9df4713e3175e2')
build() {
cd "$srcdir/${_pkgnamever}"
+ patch -p1 -i ../fix-segfault-due-to-strtok-glibc-v2.26-change.patch
script/build
}