summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorgrimi2017-09-08 06:34:12 +0200
committergrimi2017-09-08 06:34:12 +0200
commit4beaae21e8363d87cf432c22e1832ae706e69452 (patch)
treef4fc673a791ed52c592b4ae1532e562ed2907241
parent9c455f18bba7ba756007e85af740fb2caf7d599d (diff)
downloadaur-4beaae21e8363d87cf432c22e1832ae706e69452.tar.gz
Fix: build with kernel 4.12
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD10
2 files changed, 10 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2b29b4906bc..d0c171ceda9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = omnibook-dkms-git
pkgdesc = Kernel module for HP OmniBook,Pavilion,Toshiba and Compal ACL00 laptops
pkgver = 20150227
- pkgrel = 3
+ pkgrel = 4
url = http://omnibook.sourceforge.net
arch = any
license = GPL
@@ -15,9 +15,9 @@ pkgbase = omnibook-dkms-git
source = omnibook-git::git://devoid-pointer.net/omnibook.git
source = dkms.conf
source = makefile.patch
- md5sums = SKIP
- md5sums = 46cb4a99d3331123d7a04bcefcbde916
- md5sums = 7d2830930ad14b1125b219b18acb37c0
+ sha256sums = SKIP
+ sha256sums = 1a97e1956ad80423eb3c3b09c679bb9449ea79b50866e8f9e9a0317afe38a63d
+ sha256sums = 224255d7c37ea4a6cd7ddc9164e901edd205d30c62c1f02f5c8bbb8563bcf904
pkgname = omnibook-dkms-git
diff --git a/PKGBUILD b/PKGBUILD
index 055ed887947..a9312f69f24 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
_pkgname=omnibook-git
pkgname=omnibook-dkms-git
pkgver=20150227
-pkgrel=3
+pkgrel=4
pkgdesc="Kernel module for HP OmniBook,Pavilion,Toshiba and Compal ACL00 laptops"
arch=('any')
url="http://omnibook.sourceforge.net"
@@ -17,9 +17,9 @@ conflicts=('omnibook-git')
provides=('omnibook-git')
source=("$_pkgname::git://devoid-pointer.net/omnibook.git"
"dkms.conf" "makefile.patch")
-md5sums=('SKIP'
- '46cb4a99d3331123d7a04bcefcbde916'
- '7d2830930ad14b1125b219b18acb37c0')
+sha256sums=('SKIP'
+ '1a97e1956ad80423eb3c3b09c679bb9449ea79b50866e8f9e9a0317afe38a63d'
+ '224255d7c37ea4a6cd7ddc9164e901edd205d30c62c1f02f5c8bbb8563bcf904')
pkgver() {
@@ -31,6 +31,8 @@ build() {
cd $_pkgname
install -m644 ../dkms.conf ./
patch -Np0 -i ../makefile.patch
+ # fix ker 4.12
+ sed -i 's|<asm/uaccess.h>|<linux/uaccess.h>|' init.c
}
package() {