diff options
author | eNV25 | 2022-06-21 02:19:41 +0800 |
---|---|---|
committer | eNV25 | 2022-06-21 02:19:41 +0800 |
commit | 28d507113cdc421c4150be478458847262565948 (patch) | |
tree | b44c81d6e1218904fa340eb2fa629a3f3b2e9865 /PKGBUILD | |
parent | adb4bccd236804b12eb5ba2dc68d11594a832519 (diff) | |
download | aur-anbox-modules-dkms-git.tar.gz |
upgpkg: anbox-modules-dkms-git r38.8148a16-5
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -3,7 +3,7 @@ pkgname=anbox-modules-dkms-git _pkgname=anbox-modules pkgver=r38.8148a16 -pkgrel=4 +pkgrel=5 pkgdesc="Kernel modules for Anbox or Waydroid (DKMS)" arch=(x86_64) url="https://github.com/choff/$_pkgname" @@ -23,6 +23,9 @@ pkgver() { prepare() { cd "$srcdir/$_pkgname/" sed -i "s/^PACKAGE_VERSION=\".*\"$/PACKAGE_VERSION=\"$pkgver\"/g" ./**/dkms.conf + # needed for linux 5.18 + # https://github.com/choff/anbox-modules/pull/2 + sed -i '1s/^/#include <linux\/task_work.h>\n/' binder/deps.c # this should work with all Arch Linux kernels (including linux-lts) # https://github.com/choff/anbox-modules/pull/1#issuecomment-974865917 #sed -i 's/^#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,15,2))$/#if 1/g' binder/binder.c |