summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD19
1 files changed, 15 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 6c244a025d1..c24ffde3f7e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@
pkgname=openafs-modules-dkms
_srcname=openafs
pkgver=1.8.2
-pkgrel=2
+pkgrel=3
pkgdesc="Kernel module for OpenAFS (dkms)"
arch=('i686' 'x86_64' 'armv7h')
url="http://www.openafs.org"
@@ -19,11 +19,17 @@ options=(!emptydirs)
source=("http://openafs.org/dl/openafs/${pkgver}/${_srcname}-${pkgver}-src.tar.bz2"
"dkms.conf"
0001-Linux-4.20-current_kernel_time-is-gone.patch
- 0002-Linux-4.20-do_settimeofday-is-gone.patch)
+ 0002-Linux-4.20-do_settimeofday-is-gone.patch
+ 0003-Linux_5.0-Use-super_block-flags-instead-of-Mount-fla.patch
+ 0004-Linux_5.0-replace-do_gettimeofday-with-ktime_get_rea.patch
+ 0005-Linux_5.0-replaced-current_kernel_time-with-ktime_ge.patch)
sha256sums=('25fd3e4261a72a2cbdd40367e5f981895d80c32aaf309a5842aecc739dd3138e'
'5ea5e184f9b44f5ed45817d2b5a10149d15c8c54f49e0b5b4b773652673cb9b0'
- 'af5f65915c33a13311280ca5f1d52e49d954341d2b5d8939fc0ccb6a15663388'
- 'a4036be334ce54a4eb4a777621983e6535144d4c81d717e2045bb9040cf3ae8b')
+ 'd0ec82bfc844e3fc1f342b607e7107bd8a51d746cbffc075779fc09cc85751ef'
+ '793ea07fc906f9fad730c66c742dead5e4323d2cdb58265d7dc592748998b9eb'
+ '8a7ad04bf819f47775ac8ba3533ff34b9e4d6758806310ec734ded9e598bb0b0'
+ 'f5788728380f1038a71452488c9bfea6ee14a4ce7fd6f5b4d14095f70d9c718d'
+ 'db6e99d72a4eeb74497e2123c55b1354a25532b7cb7aa45646ed7a28a83cb181')
prepare() {
cd "${srcdir}/${_srcname}-${pkgver}"
@@ -32,6 +38,11 @@ prepare() {
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"
+ # Compatibility with Linux 5.0
+ patch -p1 < "${srcdir}/0003-Linux_5.0-Use-super_block-flags-instead-of-Mount-fla.patch"
+ patch -p1 < "${srcdir}/0004-Linux_5.0-replace-do_gettimeofday-with-ktime_get_rea.patch"
+ patch -p1 < "${srcdir}/0005-Linux_5.0-replaced-current_kernel_time-with-ktime_ge.patch"
+
# Only needed when changes to configure were made
./regen.sh -q
}