summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorRubenKelevra2017-07-21 12:36:13 +0200
committerRubenKelevra2017-07-21 12:36:13 +0200
commit3cd03224bba81891bb64bcc0156ffa5a4edad451 (patch)
treec01a8ee86b016d74ddfcfd982afe722e1192bb26 /PKGBUILD
parentf50f493c255c101800c39794ef827df91e996c62 (diff)
downloadaur-3cd03224bba81891bb64bcc0156ffa5a4edad451.tar.gz
add compability for kernel 4.11.9
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD18
1 files changed, 9 insertions, 9 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 1452eae3dd2..5384674e557 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=batman-adv
pkgver=2017.1
-pkgrel=1
+pkgrel=2
epoch=1
pkgdesc='batman kernel module'
arch=('i686' 'x86_64' 'armv7h')
@@ -13,25 +13,25 @@ license=('GPL')
install='batman-adv.install'
source=("https://downloads.open-mesh.org/batman/releases/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.gz"
'batman-adv.install'
+ 'batman-adv-Fix-inconsistent-teardown-and-release-of-private-netdev-state..patch::https://patchwork.open-mesh.org/patch/17043/mbox/'
+ 'batman-adv-only-enable-priv-destructor.patch::https://patchwork.open-mesh.org/patch/17074/mbox/'
)
depends=('linux')
makedepends=('linux-headers')
sha256sums=('ec1848023308c41710eeefb544580f5853d68b88a627a3f2dabaa3472b988c15'
- '347599c02426a905690002885c277f91b82da2b29d3372348e5f02d03c435c37')
+ '347599c02426a905690002885c277f91b82da2b29d3372348e5f02d03c435c37'
+ '3518772d87fe23d233e46d91cc10de003029f7af64b6e2e4744d6f10c2a0081e'
+ '150a8acad0ba8a88b9643fe098fcdcc81ccc63b97f11b87e9c16af960081b660'
+)
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
sed -i -e 's/export CONFIG_BATMAN_ADV_MCAST=y/export CONFIG_BATMAN_ADV_MCAST=n/g' Makefile
- for s in "${source[@]}"
- do
- case "$s" in
- (*.patch)
- patch -p1 < "${srcdir}/${s}"
- esac
- done
+ patch -p1 < "${srcdir}/batman-adv-Fix-inconsistent-teardown-and-release-of-private-netdev-state..patch"
+ patch -p1 < "${srcdir}/batman-adv-only-enable-priv-destructor.patch"
}
build() {