summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorOle Ernst2016-01-19 20:36:36 +0100
committerOle Ernst2016-01-19 20:36:36 +0100
commit92f9c507b6f3304cb78b918cc3c0bb55472eaae7 (patch)
tree83795557c1099077ba582e52715082dfc8db5ffc /PKGBUILD
parent5ffbfe7a0b7659a5450f6e7739fc284cf34853af (diff)
downloadaur-92f9c507b6f3304cb78b918cc3c0bb55472eaae7.tar.gz
cgit patches aren't as static as hoped for, ship our own compatibility patch
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD13
1 files changed, 4 insertions, 9 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 177ba6ce0a8..46e8a208370 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Ole Ernst <olebowle[at]gmx[dot]com>
pkgname=media-build-dvbsky
pkgver=20151028
-pkgrel=2
+pkgrel=3
pkgdesc="Driver for DVBSky cards/boxes"
arch=('i686' 'x86_64')
url="http://www.dvbsky.net/Support_linux.html"
@@ -13,12 +13,10 @@ replaces=('dvbsky-dvb-drivers')
install="$pkgname.install"
source=("http://www.dvbsky.net/download/linux/media_build-bst-151028.tar.gz"
'add_c2800e.patch'
- '269bd13.patch::https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/patch/?id=269bd1324fbfaa52832bb3efe9f5105c9146a33a'
- 'b36ae85.patch::https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/patch/?id=b36ae8532f48916d46f92c048d4866ee50e5fc67')
+ '4.3-compat.patch')
sha256sums=('48a8726c6799025be06bc5b8bafa8449ca02abf8fe578e805f91707a5edf1e52'
'bdb4cb06418cb2e36eb3219b4d4be329d5297db1704e6e3ef0c73dd6bb9721f1'
- 'e2440075219f84cf5029bcedddd42ace5cbee13ab306275c2c513c25ea2a4efb'
- '9b6c1b98f2e85afe17c97d7577db1d7bd07454a11e2fda0b7661d5fe7ca6635f')
+ 'e4991181b5a658f93ff6f454c22eb13955c8ae8ad19d3ddef1a0d7cc281c832e')
prepare() {
cd "$srcdir/media_build-bst"
@@ -26,10 +24,7 @@ prepare() {
cp v4l/sit2_mod.dvb linux/drivers/media/dvb-frontends/sit2_mod.c
sed -i '/depmod/d' v4l/Makefile v4l/scripts/make_makefile.pl
patch -p1 -i ../add_c2800e.patch
- cd linux
- patch -p1 -i ../../269bd13.patch
- patch -p1 -i ../../b36ae85.patch
-
+ patch -p1 -i ../4.3-compat.patch
export _kernver=$(</usr/lib/modules/extramodules-[0-9]\.+([0-9])-ARCH/version)
sed -i "s/KERNEL_VERSION=.*/KERNEL_VERSION=$_kernver/" "$startdir/$install"
}