diff --git a/testing/xemu/APKBUILD b/testing/xemu/APKBUILD index 85412850ffb..e780fb98fd9 100644 --- a/testing/xemu/APKBUILD +++ b/testing/xemu/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Díaz Urbaneja Diego pkgname=xemu pkgver=0.7.131 -pkgrel=0 +pkgrel=1 pkgdesc="Original Xbox Emulator for Windows, macOS, and Linux." url="https://xemu.app/" #x86/armv7/armhf failed compilation because of lto (without lto it still doesn't work) @@ -31,6 +31,7 @@ options="!check" # checks fails with xbox parameter source="$pkgname-$pkgver.tar.gz::https://github.com/xemu-project/xemu/releases/download/v$pkgver/src.tar.gz fix-missing-include.patch use-system-libs.patch + basename.patch " builddir="$srcdir/" @@ -60,4 +61,5 @@ sha512sums=" 0a5ea85652c61b673656aef9bbdda5e3de0b765ebbee9267c4cf71a95916d17038e69874ee3548b2e9453373af3306900e468643d6bc280fbf898e7bc06ebe0b xemu-0.7.131.tar.gz fc5e9c74c48496ccd1ea5227901b60d11af686641e5a724ad20f866c7ef7a4038ab00d06ba55fbb8e84c202b69a72304ed8a65855f53f6a0403f526dcd3928b8 fix-missing-include.patch c5cfe0f593c0ae6408814ac5bfc19d4fe030f4e62fcc7665d5d6f52d21b48f42c7bf109c4d3b341afdcc68085bc29b1fad7110673dd157156b69bbfbf8e3c38f use-system-libs.patch +fe7f53a1068af46469f20e3bab994a9f8c18bba7e4863f5a68bd263c5a44c76dd2f7d69db3f2041222db713a5291a8648318f4a7f0138fe16fb1c3657f5e2b9d basename.patch " diff --git a/testing/xemu/basename.patch b/testing/xemu/basename.patch new file mode 100644 index 00000000000..c63ea86fb2e --- /dev/null +++ b/testing/xemu/basename.patch @@ -0,0 +1,12 @@ +Fix implicit basename(3) declaration + +--- a/hw/vfio/pci.c ++++ b/hw/vfio/pci.c +@@ -21,6 +21,7 @@ + #include "qemu/osdep.h" + #include + #include ++#include + + #include "hw/hw.h" + #include "hw/pci/msi.h"