summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-10-23 22:51:49 -0200
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-10-23 22:51:49 -0200
commit4ecc003a5fabd571411337269c2b2bffc6507040 (patch)
tree32feeffc6f1ea78ce228aaa4fabb72592bd2754c /libre
parent6add59498c6758352de20617b913054a27a14a09 (diff)
parent18af7e3da48e29f14583beabc0576261e4188f9f (diff)
downloadabslibre-4ecc003a5fabd571411337269c2b2bffc6507040.tar.gz
abslibre-4ecc003a5fabd571411337269c2b2bffc6507040.tar.bz2
abslibre-4ecc003a5fabd571411337269c2b2bffc6507040.zip
Merge branch 'master' of ssh://projects.parabola.nu:1863/~git/abslibre
Diffstat (limited to 'libre')
-rw-r--r--libre/acpi_call/PKGBUILD9
1 files changed, 9 insertions, 0 deletions
diff --git a/libre/acpi_call/PKGBUILD b/libre/acpi_call/PKGBUILD
index a8f98fc8f..2bb18f24b 100644
--- a/libre/acpi_call/PKGBUILD
+++ b/libre/acpi_call/PKGBUILD
@@ -68,6 +68,15 @@ install='kmod.install'
source=("${url}/archive/v${pkgver}.tar.gz")
sha256sums=('d0d14b42944282724fca76f57d598eed794ef97448f387d1c489d85ad813f2f0')
+prepare() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+
+ if [[ ${_basekernel} > 3.16 ]]; then
+ # Fix build with Linux-libre 3.17-gnu
+ sed -i 's|acpi/acpi.h|linux/acpi.h|' acpi_call.c
+ fi
+}
+
build() {
cd "${srcdir}/${_pkgname}-${pkgver}"