commit: 3752d632441c34385ee7296126e3867536cb63e7 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> AuthorDate: Tue Sep 8 07:33:11 2020 +0000 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> CommitDate: Tue Sep 8 07:33:20 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3752d632
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 <AT> gentoo.org> app-emulation/qemu/files/qemu-9999-format-error.patch | 14 ++++++++++++++ app-emulation/qemu/qemu-9999.ebuild | 1 + 2 files changed, 15 insertions(+) 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 00000000000..8bb4d96b77c --- /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 a70062db3ec..da2bd1246ef 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="
