From a96898f4d499099f3a6b90c60fe6b43d80b30508 Mon Sep 17 00:00:00 2001 From: Conrad Kostecki <conikost@gentoo.org> Date: Sat, 21 Mar 2020 18:00:07 +0100 Subject: app-emulation/pcem: fix compilation with gcc >= 10.x Since the source fix is not trivial, adding -fcommon for now. Closes: https://bugs.gentoo.org/713772 Package-Manager: Portage-2.3.94, Repoman-2.3.20 Signed-off-by: Conrad Kostecki <conikost@gentoo.org> --- app-emulation/pcem/pcem-15-r1.ebuild | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'app-emulation/pcem') diff --git a/app-emulation/pcem/pcem-15-r1.ebuild b/app-emulation/pcem/pcem-15-r1.ebuild index db947638e010..fad135956903 100644 --- a/app-emulation/pcem/pcem-15-r1.ebuild +++ b/app-emulation/pcem/pcem-15-r1.ebuild @@ -41,6 +41,10 @@ src_prepare() { } src_configure() { + # Does not compile with -fno-common. + # See https://pcem-emulator.co.uk/phpBB3/viewtopic.php?f=3&t=3443 + append-cflags -fcommon + local myeconfargs=( --enable-release-build $(use_enable alsa) @@ -66,6 +70,6 @@ pkg_postinst() { elog "In order to use PCem, you will need some roms for various emulated systems." elog "You can either install globally for all users or locally for yourself." elog "" - elog "To install globally, put your ROM file into '${ROOT}/usr/share/pcem/roms/<system>'." - elog "To install locally, put your ROM file into '~/.pcem/roms/<system>'." + elog "To install globally, put your ROM files into '${ROOT}/usr/share/pcem/roms/<system>'." + elog "To install locally, put your ROM files into '~/.pcem/roms/<system>'." } -- cgit v1.2.3-65-gdbad