summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMichael Lass2017-02-28 17:05:51 +0100
committerMichael Lass2017-02-28 17:05:51 +0100
commita80d01b58b58fe2d4f5e9a29bd95b32a56c7aa8a (patch)
tree608c869fcdb5f1618d784c1dcbd2c3a5d9ac134d /PKGBUILD
parente7705194d35202fdd72e9dfe97f1197d0cf1124d (diff)
downloadaur-a80d01b58b58fe2d4f5e9a29bd95b32a56c7aa8a.tar.gz
Add patch to work with kernel 4.10
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD12
1 files changed, 9 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 098c923dbbf..51c79944762 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,4 +1,5 @@
# Maintainer: Michael Lass <bevan@bi-co.net>
+# Contributor: Konstantin Gizdov <arch at kge dot pw>
# This PKGBUILD is maintained on github:
# https://github.com/michaellass/AUR
@@ -6,7 +7,7 @@
pkgname=openafs-modules-dkms
_srcname=openafs
pkgver=1.6.20.1
-pkgrel=1
+pkgrel=2
pkgdesc="Kernel module for OpenAFS (dkms)"
arch=('i686' 'x86_64' 'armv7h')
url="http://www.openafs.org"
@@ -16,13 +17,18 @@ provides=("openafs-modules=$pkgver")
conflicts=('openafs-features-libafs' 'openafs-modules' 'openafs<1.6.6-2')
options=(!emptydirs)
source=(http://openafs.org/dl/${pkgver}/${_srcname}-${pkgver}-src.tar.bz2
- dkms.conf)
+ dkms.conf
+ 0001-Linux-4.10-have_submounts-is-gone.patch)
sha256sums=('dc869eecf6c81949d3dd2021eaf87118ef9b90ec5012a35f64836a02a58a8826'
- 'ea7d1e6dfb5006016e25738be722c8793765f52ad55c0bbf588dd7fdf2bdd2bf')
+ 'ea7d1e6dfb5006016e25738be722c8793765f52ad55c0bbf588dd7fdf2bdd2bf'
+ '48efa08f0c384df84ce114f418a2db8607ab3e4f32bbcfd60ef54b8c1bae2e94')
prepare() {
cd ${srcdir}/${_srcname}-${pkgver}
+ # add upstream patch for kernel 4.10
+ patch -p1 -i "${srcdir}"/0001-Linux-4.10-have_submounts-is-gone.patch
+
# Only needed when changes to configure were made
# ./regen.sh -q
}