summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorOle Ernst2016-02-12 17:47:19 +0100
committerOle Ernst2016-02-12 17:47:19 +0100
commitcbf9a6279df0bb62e61c408a72ce333faefbc3c0 (patch)
treeea245ccf15bb9f996179e3ec4e7e02e366316b8e /PKGBUILD
parent92f9c507b6f3304cb78b918cc3c0bb55472eaae7 (diff)
downloadaur-cbf9a6279df0bb62e61c408a72ce333faefbc3c0.tar.gz
fix build against 4.4.x kernel
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 46e8a208370..4981e63d01b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Ole Ernst <olebowle[at]gmx[dot]com>
pkgname=media-build-dvbsky
pkgver=20151028
-pkgrel=3
+pkgrel=4
pkgdesc="Driver for DVBSky cards/boxes"
arch=('i686' 'x86_64')
url="http://www.dvbsky.net/Support_linux.html"
@@ -25,6 +25,7 @@ prepare() {
sed -i '/depmod/d' v4l/Makefile v4l/scripts/make_makefile.pl
patch -p1 -i ../add_c2800e.patch
patch -p1 -i ../4.3-compat.patch
+ grep -rl pci_dma_supported | xargs sed -i 's/pci_dma_supported/pci_set_dma_mask/'
export _kernver=$(</usr/lib/modules/extramodules-[0-9]\.+([0-9])-ARCH/version)
sed -i "s/KERNEL_VERSION=.*/KERNEL_VERSION=$_kernver/" "$startdir/$install"
}