summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD16
1 files changed, 12 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 2448170a764..6c244a025d1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@
pkgname=openafs-modules-dkms
_srcname=openafs
pkgver=1.8.2
-pkgrel=1
+pkgrel=2
pkgdesc="Kernel module for OpenAFS (dkms)"
arch=('i686' 'x86_64' 'armv7h')
url="http://www.openafs.org"
@@ -17,15 +17,23 @@ provides=("openafs-modules=$pkgver")
conflicts=('openafs-features-libafs' 'openafs-modules' 'openafs<1.6.6-2')
options=(!emptydirs)
source=("http://openafs.org/dl/openafs/${pkgver}/${_srcname}-${pkgver}-src.tar.bz2"
- "dkms.conf")
+ "dkms.conf"
+ 0001-Linux-4.20-current_kernel_time-is-gone.patch
+ 0002-Linux-4.20-do_settimeofday-is-gone.patch)
sha256sums=('25fd3e4261a72a2cbdd40367e5f981895d80c32aaf309a5842aecc739dd3138e'
- '05f4218290cbbfa419975ce1dd09e34655a182c4973078578f24a0e468d32275')
+ '5ea5e184f9b44f5ed45817d2b5a10149d15c8c54f49e0b5b4b773652673cb9b0'
+ 'af5f65915c33a13311280ca5f1d52e49d954341d2b5d8939fc0ccb6a15663388'
+ 'a4036be334ce54a4eb4a777621983e6535144d4c81d717e2045bb9040cf3ae8b')
prepare() {
cd "${srcdir}/${_srcname}-${pkgver}"
+ # Compatibility with Linux 4.20
+ patch -p1 < "${srcdir}/0001-Linux-4.20-current_kernel_time-is-gone.patch"
+ patch -p1 < "${srcdir}/0002-Linux-4.20-do_settimeofday-is-gone.patch"
+
# Only needed when changes to configure were made
- #./regen.sh -q
+ ./regen.sh -q
}
build() {