summaryrefslogtreecommitdiff
path: root/x11-misc/xsnap/xsnap-1.5.15-r3.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-10-11 13:38:21 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-10-11 13:38:21 +0100
commit59970d0b9cd0a564851f255aebb29a9f76e39c19 (patch)
tree4ed6fa53e3016b6085c92a07d51765f4d8bfbe09 /x11-misc/xsnap/xsnap-1.5.15-r3.ebuild
parent81db58116c7a9c27f54243a4d8f364c7e94c6f36 (diff)
gentoo auto-resync : 11:10:2022 - 13:38:21
Diffstat (limited to 'x11-misc/xsnap/xsnap-1.5.15-r3.ebuild')
-rw-r--r--x11-misc/xsnap/xsnap-1.5.15-r3.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/x11-misc/xsnap/xsnap-1.5.15-r3.ebuild b/x11-misc/xsnap/xsnap-1.5.15-r3.ebuild
index 560e1574bb68..c68de841d51c 100644
--- a/x11-misc/xsnap/xsnap-1.5.15-r3.ebuild
+++ b/x11-misc/xsnap/xsnap-1.5.15-r3.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit toolchain-funcs
+inherit flag-o-matic toolchain-funcs
DESCRIPTION="Program to interactively take a 'snapshot' of a region of the screen"
HOMEPAGE="ftp://ftp.ac-grenoble.fr/ge/Xutils/"
@@ -52,6 +52,8 @@ src_prepare() {
}
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
}