From: Conrad Kostecki Date: Sat, 21 Mar 2020 17:00:07 +0000 (+0100) Subject: app-emulation/pcem: fix compilation with gcc >= 10.x X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a96898f4d499099f3a6b90c60fe6b43d80b30508;p=gentoo.git 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 --- 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/'." - elog "To install locally, put your ROM file into '~/.pcem/roms/'." + elog "To install globally, put your ROM files into '${ROOT}/usr/share/pcem/roms/'." + elog "To install locally, put your ROM files into '~/.pcem/roms/'." }