diff options
author | Francisco Pina Martins | 2018-05-26 00:21:20 +0100 |
---|---|---|
committer | Francisco Pina Martins | 2018-05-26 00:21:20 +0100 |
commit | 4abbe1421e2e8687244fb2eedeeb5812ddba4b0b (patch) | |
tree | 2399bafbdf562697858f7cdea7551866021f9eec | |
parent | bf22b9a73e49b2be1e6fc024717380483b065ddb (diff) | |
download | aur-4abbe1421e2e8687244fb2eedeeb5812ddba4b0b.tar.gz |
Adds a sed line to workaround a 'make prepare' error
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 7 insertions, 3 deletions
@@ -1,6 +1,8 @@ +# Generated by mksrcinfo v8 +# Fri May 25 23:20:30 UTC 2018 pkgbase = linux-amd-staging-drm-next-git pkgdesc = Linux kernel with AMDGPU DC patches - pkgver = 4.17.741042.d64547a1cfa8 + pkgver = 4.178.741334.46c04bb3e028 pkgrel = 1 url = https://cgit.freedesktop.org/~agd5f/linux/ arch = x86_64 @@ -6,10 +6,10 @@ pkgbase=linux-amd-staging-drm-next-git pkgdesc='Linux kernel with AMDGPU DC patches' _srcname=${pkgbase} -_kernel_rel=4.17 +_kernel_rel=4.178 _branch=amd-staging-drm-next _kernelname=${pkgbase#linux} -pkgver=4.17.741042.d64547a1cfa8 +pkgver=4.178.741334.46c04bb3e028 pkgrel=1 arch=('x86_64') url='https://cgit.freedesktop.org/~agd5f/linux/' @@ -47,6 +47,8 @@ prepare() { sed -i '2iexit 0' scripts/depmod.sh # get kernel version + sed -i 's|snprintf(buf, buflen, "INTERNAL ERROR: strerror_r(%d, %p, %zd)=%d", errnum, buf, buflen, err)|snprintf(buf, buflen, "INTERNAL ERROR: strerror_r(%d, [buf], %zd)=%d", errnum, buflen, err)|g' tools/lib/str_error_r.c + make prepare # load configuration |