summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2020-09-08 08:33:11 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2020-09-08 08:33:20 +0100
commit3752d632441c34385ee7296126e3867536cb63e7 (patch)
treec68499a47e6e23ac1b1763288be5d4372f17e65f /app-emulation
parentsci-libs/taucs: Port to EAPI 7 (diff)
downloadgentoo-3752d632441c34385ee7296126e3867536cb63e7.tar.gz
gentoo-3752d632441c34385ee7296126e3867536cb63e7.tar.bz2
gentoo-3752d632441c34385ee7296126e3867536cb63e7.zip
app-emulation/qemu: tweak error message for missing SDL
Reported-by: Rafael Kitover Bug: https://bugs.gentoo.org/740836 Package-Manager: Portage-3.0.5, Repoman-3.0.1 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
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="