summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/qemu/files/qemu-9999-format-error.patch14
-rw-r--r--app-emulation/qemu/qemu-9999.ebuild1
2 files changed, 15 insertions, 0 deletions
diff --git a/app-emulation/qemu/files/qemu-9999-format-error.patch b/app-emulation/qemu/files/qemu-9999-format-error.patch
new file mode 100644
index 000000000000..8bb4d96b77cf
--- /dev/null
+++ b/app-emulation/qemu/files/qemu-9999-format-error.patch
@@ -0,0 +1,14 @@
+https://bugs.gentoo.org/740836
+--- a/meson.build
++++ b/meson.build
+@@ -255,8 +255,8 @@ if sdl.found()
+ method: 'pkg-config', static: enable_static)
+ else
+ if get_option('sdl_image').enabled()
+- error('sdl-image required, but SDL was @0@',
+- get_option('sdl').disabled() ? 'disabled' : 'not found')
++ error('sdl-image required, but SDL was @0@'.format(
++ get_option('sdl').disabled() ? 'disabled' : 'not found'))
+ endif
+ sdl_image = not_found
+ endif
diff --git a/app-emulation/qemu/qemu-9999.ebuild b/app-emulation/qemu/qemu-9999.ebuild
index a70062db3ecc..da2bd1246efe 100644
--- a/app-emulation/qemu/qemu-9999.ebuild
+++ b/app-emulation/qemu/qemu-9999.ebuild
@@ -226,6 +226,7 @@ RDEPEND="${CDEPEND}
PATCHES=(
"${FILESDIR}"/${PN}-2.11.1-capstone_include_path.patch
"${FILESDIR}"/${PN}-9999-cflags.patch
+ "${FILESDIR}"/${PN}-9999-format-error.patch
)
QA_PREBUILT="