summaryrefslogtreecommitdiff
path: root/libre/acpi_call
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2017-09-09 00:12:45 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2017-09-09 00:12:45 -0500
commitc8f23a44ecc4a2681aeccb32611195b59a606aec (patch)
tree8e4a0d9babeeb58fa5e850653c3b97147ff82fd2 /libre/acpi_call
parent3fc1edec0a17be1bbf73c2fe2a8d2f033f4c93af (diff)
downloadabslibre-c8f23a44ecc4a2681aeccb32611195b59a606aec.tar.gz
abslibre-c8f23a44ecc4a2681aeccb32611195b59a606aec.tar.bz2
abslibre-c8f23a44ecc4a2681aeccb32611195b59a606aec.zip
rebuild module packages against linux-libre-4.12.10_gnu-1
Diffstat (limited to 'libre/acpi_call')
-rw-r--r--libre/acpi_call/PKGBUILD11
1 files changed, 8 insertions, 3 deletions
diff --git a/libre/acpi_call/PKGBUILD b/libre/acpi_call/PKGBUILD
index 15cdcedfa..310aa7103 100644
--- a/libre/acpi_call/PKGBUILD
+++ b/libre/acpi_call/PKGBUILD
@@ -6,11 +6,11 @@
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
# Contributor: Luke Shumaker <lukeshu@sbcglobal.net>
-_kernelname=-lts
+_kernelname=
if [[ ${_kernelname} == "" ]]; then
- _basekernel=4.11
- _archrel=64
+ _basekernel=4.12
+ _archrel=72
_parabolarel=1
elif [[ ${_kernelname} == -lts ]]; then
_basekernel=4.9
@@ -53,6 +53,11 @@ prepare() {
# Fix build with Linux-libre 3.17-gnu
sed -i 's|acpi/acpi.h|linux/acpi.h|' acpi_call.c
fi
+
+ if [[ ${_basekernel} > 4.11 ]]; then
+ # Fix build with Linux-libre 4.12-gnu
+ sed -i 's|asm/uaccess.h|linux/uaccess.h|' acpi_call.c
+ fi
}
build() {