[arch-commits] Commit in acpi_call/trunk (PKGBUILD acpi_call.install)
Jan Steffens
heftig at archlinux.org
Thu Jul 13 13:08:17 UTC 2017
Date: Thursday, July 13, 2017 @ 13:08:16
Author: heftig
Revision: 244955
1.1.0-65: kernel 4.12.1
Modified:
acpi_call/trunk/PKGBUILD
acpi_call/trunk/acpi_call.install
-------------------+
PKGBUILD | 11 +++++++----
acpi_call.install | 2 +-
2 files changed, 8 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-07-13 13:07:13 UTC (rev 244954)
+++ PKGBUILD 2017-07-13 13:08:16 UTC (rev 244955)
@@ -5,14 +5,14 @@
pkgname=acpi_call
pkgver=1.1.0
-pkgrel=64
-_extramodules=extramodules-4.11-ARCH
+pkgrel=65
+_extramodules=extramodules-4.12-ARCH
pkgdesc='A linux kernel module that enables calls to ACPI methods through /proc/acpi/call'
arch=('i686' 'x86_64')
url='https://github.com/mkottman/acpi_call'
license=('GPL')
-depends=('linux>=4.11' 'linux<4.12')
-makedepends=('linux-headers>=4.11' 'linux-headers<4.12')
+depends=('linux>=4.12' 'linux<4.13')
+makedepends=('linux-headers>=4.12' 'linux-headers<4.13')
install='acpi_call.install'
source=("acpi_call-${pkgver}.tar.gz::https://github.com/mkottman/acpi_call/archive/v${pkgver}.tar.gz")
sha256sums=('d0d14b42944282724fca76f57d598eed794ef97448f387d1c489d85ad813f2f0')
@@ -22,6 +22,9 @@
# Fix build with Linux >= 3.17
sed -i 's|acpi/acpi.h|linux/acpi.h|' acpi_call.c
+
+ # Fix build with Linux >= 4.12
+ sed -i 's|asm/uaccess.h|linux/uaccess.h|' acpi_call.c
}
build() {
Modified: acpi_call.install
===================================================================
--- acpi_call.install 2017-07-13 13:07:13 UTC (rev 244954)
+++ acpi_call.install 2017-07-13 13:08:16 UTC (rev 244955)
@@ -1,5 +1,5 @@
post_install() {
- _extramodules=extramodules-4.11-ARCH
+ _extramodules=extramodules-4.12-ARCH
depmod $(cat /usr/lib/modules/${_extramodules}/version)
}
More information about the arch-commits
mailing list