summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorOle Ernst2016-06-09 21:13:40 +0200
committerOle Ernst2016-06-09 21:13:40 +0200
commitc6572862abbf264fd1b9b21bc2d8b88aa580deef (patch)
treeee0340c2a96dd24bc9e407f2594c526414b1af98 /PKGBUILD
parenta1de97ca57d50a3e5c0abe103c19830aadfc61ee (diff)
downloadaur-c6572862abbf264fd1b9b21bc2d8b88aa580deef.tar.gz
fix build against 4.6.x kernel
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD9
1 files changed, 6 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 35e96ad3016..501d4ff1d01 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Ole Ernst <olebowle[at]gmx[dot]com>
pkgname=media-build-dvbsky
pkgver=20160430
-pkgrel=1
+pkgrel=2
pkgdesc="Driver for DVBSky cards/boxes"
arch=('i686' 'x86_64')
url="http://www.dvbsky.net/Support_linux.html"
@@ -14,11 +14,13 @@ install="$pkgname.install"
source=("http://www.dvbsky.net/download/linux/media_build-bst-160430.tar.gz"
'add_c2800e.patch'
'add_s850.patch'
- '4.5-compat.patch')
+ '4.5-compat.patch'
+ '4.6-compat.patch')
sha256sums=('b3c612d792834d14c981c400022ec923c154e10161121cf730a09b4ed4e35b04'
'bdb4cb06418cb2e36eb3219b4d4be329d5297db1704e6e3ef0c73dd6bb9721f1'
'c44b8dec256c271ceb59c6bd56df9f7a13735e3b9e110114e0504a48e99e6d10'
- '3c01458ab75b9d78ea7eb76f98e6a5982d33d5ba4841e6ff6460939641ba73e9')
+ '3c01458ab75b9d78ea7eb76f98e6a5982d33d5ba4841e6ff6460939641ba73e9'
+ 'ad5bf9468da1307e06de1289090fa20885f513b9d6bf223e48dab3c9611d9cf1')
prepare() {
cd media_build-bst-160430
@@ -28,6 +30,7 @@ prepare() {
patch -p1 -i ../add_c2800e.patch
patch -p1 -i ../add_s850.patch
patch -p1 -i ../4.5-compat.patch
+ patch -p1 -i ../4.6-compat.patch
export _kernver=$(</usr/lib/modules/extramodules-[0-9]\.+([0-9])-ARCH/version)
sed -i "s/KERNEL_VERSION=.*/KERNEL_VERSION=$_kernver/" "$startdir/$install"
}