From c8f23a44ecc4a2681aeccb32611195b59a606aec Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Sat, 9 Sep 2017 00:12:45 -0500 Subject: rebuild module packages against linux-libre-4.12.10_gnu-1 --- libre/tp_smapi/PKGBUILD | 27 +++++++++++---------------- 1 file changed, 11 insertions(+), 16 deletions(-) (limited to 'libre/tp_smapi') diff --git a/libre/tp_smapi/PKGBUILD b/libre/tp_smapi/PKGBUILD index 7af2e4ac1..06d1ad33c 100644 --- a/libre/tp_smapi/PKGBUILD +++ b/libre/tp_smapi/PKGBUILD @@ -11,11 +11,11 @@ # Maintainer: Omar Vega Ramos # Contributor: Luke Shumaker -_kernelname=-lts +_kernelname= if [[ ${_kernelname} == "" ]]; then - _basekernel=4.11 - _archrel=19 + _basekernel=4.12 + _archrel=28 _parabolarel=1 elif [[ ${_kernelname} == -lts ]]; then _basekernel=4.9 @@ -48,27 +48,22 @@ fi install='kmod.install' source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/evgeni/${_pkgname}/archive/${__pkgname}/${pkgver}.tar.gz") -md5sums=('6a51d3aa459ad7a6ebfbb8c29527b3ee') +sha256sums=('cd28bf6ee21b2c27b88d947cb0bfcb19648c7daa5d350115403dbcad05849381') build() { - cd "${srcdir}/${_pkgname}-${__pkgname}-${pkgver}" + cd "${_pkgname}-${__pkgname}-${pkgver}" - _kernver="$(cat /usr/lib/modules/${_extramodules}/version)" + # https://bugs.archlinux.org/task/54975 (kernel has no _GLOBAL_OFFSET_TABLE_): + # Clear EXTRA_CFLAGS since it defaults to injecting CFLAGS and -fno-plt breaks the modules - make HDAPS=1 KVER="${_kernver}" KBASE="/usr/lib/modules/${_kernver}" + make HDAPS=1 KVER="$(