Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/qemu/PKGBUILD
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-05-01 08:25:45 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2018-05-01 08:25:45 +0200
commit0f2c27a17d8a0e2ecb4e2eea609718ca14dc3869 (patch)
treecfa5c16ea77705d3dc0f1ed873ee3b71ce54f682 /extra/qemu/PKGBUILD
parente70c9e3654f3d6884f2c2cd0350422384c61656b (diff)
extra/qemu: patch for memfd_create redeclaration colliding with glibc 2.27
Diffstat (limited to 'extra/qemu/PKGBUILD')
-rw-r--r--extra/qemu/PKGBUILD11
1 files changed, 11 insertions, 0 deletions
diff --git a/extra/qemu/PKGBUILD b/extra/qemu/PKGBUILD
index 0ccb8f88..3a862424 100644
--- a/extra/qemu/PKGBUILD
+++ b/extra/qemu/PKGBUILD
@@ -13,3 +13,14 @@ eval "$(
s@rm qemu/block-{iscsi,rbd,gluster}.so@rm qemu/block-{iscsi,gluster}.so@
'
)"
+
+# see https://git.qemu.org/?p=qemu.git;a=commit;h=75e5b70e6b5dcc4f2219992d7cffa462aa406af0
+source+=('qemu-2.11.1-glibc-2.27-mman_create.patch')
+sha256sums+=('5653219a0d4ff8312e7bc4a5f6202ae637607e114e68d4c9fcf8492ab23706bb')
+
+eval "$(
+ declare -f prepare | \
+ sed '
+ /allow_elf64.patch/a patch -Np1 -i ../qemu-2.11.1-glibc-2.27-mman_create.patch
+ '
+)"