summaryrefslogtreecommitdiff
path: root/x11-misc/xearth/xearth-1.1-r1.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'x11-misc/xearth/xearth-1.1-r1.ebuild')
-rw-r--r--x11-misc/xearth/xearth-1.1-r1.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/x11-misc/xearth/xearth-1.1-r1.ebuild b/x11-misc/xearth/xearth-1.1-r1.ebuild
index d80d0c43e7eb..afcf07d5a879 100644
--- a/x11-misc/xearth/xearth-1.1-r1.ebuild
+++ b/x11-misc/xearth/xearth-1.1-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit toolchain-funcs
+inherit flag-o-matic toolchain-funcs
DESCRIPTION="Set the X root window to an image of the Earth"
HOMEPAGE="https://hewgill.com/xearth/original/"
@@ -33,6 +33,8 @@ PATCHES=(
DOCS=( BUILT-IN GAMMA-TEST HISTORY README )
src_configure() {
+ append-cflags -std=gnu89 # old codebase, incompatible with c2x
+
CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \
IMAKECPP="${IMAKECPP:-${CHOST}-gcc -E}" xmkmf || die
}