diff --git a/srcpkgs/qemu/patches/mmap-mremap-efault.patch b/srcpkgs/qemu/patches/mmap-mremap-efault.patch index 5a70e9658b3..71e9cd44317 100644 --- a/srcpkgs/qemu/patches/mmap-mremap-efault.patch +++ b/srcpkgs/qemu/patches/mmap-mremap-efault.patch @@ -25,9 +25,9 @@ index 7e3b245..1e8d0f1 100644 addr < old_addr + new_size; - addr++) { + addr += TARGET_PAGE_SIZE) { - prot |= page_get_flags(addr); + page_flags |= page_get_flags(addr); } -+ prot |= page_get_flags(old_addr + new_size - 1); ++ page_flags |= page_get_flags(old_addr + new_size - 1); } if (prot == 0) { host_addr = mremap(g2h_untagged(old_addr), diff --git a/srcpkgs/qemu/template b/srcpkgs/qemu/template index fe70489fbc3..00f1a12be0f 100644 --- a/srcpkgs/qemu/template +++ b/srcpkgs/qemu/template @@ -1,7 +1,7 @@ # Template file for 'qemu' # This package should be updated together with qemu-user-static pkgname=qemu -version=8.1.5 +version=8.2.1 revision=1 build_style=configure configure_args="--prefix=/usr --sysconfdir=/etc --libexecdir=/usr/libexec --localstatedir=/var @@ -28,7 +28,7 @@ maintainer="Orphaned " license="GPL-2.0-only, LGPL-2.1-only" homepage="https://www.qemu.org" distfiles="https://wiki.qemu.org/download/qemu-${version}.tar.bz2" -checksum=a12e9b5cdf41a3eeb534fa1467b81946fb57b5b27bcabc2ec0e450e7e0e785ba +checksum=ff6413d5b6a8bcc62f0c057195dff499e9321bb68723107bd1cba76cc54ca8ad ignore_elf_dirs="/usr/share/qemu" nostrip_files="hppa-firmware.img openbios-ppc openbios-sparc32 openbios-sparc64 palcode-clipper s390-ccw.img s390-netboot.img u-boot.e500 opensbi-riscv32-generic-fw_dynamic.elf