summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2022-10-11 04:28:02 -0400
committerIonen Wolkens <ionen@gentoo.org>2022-10-11 04:56:04 -0400
commit7a26867943ada25798484ce203a373605738a815 (patch)
tree277e5304ba989912b48b30ede9b31ebee8b1ad7c /x11-plugins
parentx11-misc/xtoolwait: pass -std=gnu89 (diff)
downloadgentoo-7a26867943ada25798484ce203a373605738a815.tar.gz
gentoo-7a26867943ada25798484ce203a373605738a815.tar.bz2
gentoo-7a26867943ada25798484ce203a373605738a815.zip
x11-plugins/asmem: pass -std=gnu89
Does not build with `clang -std=c2x`, early workaround for when this will become a default. (not actively hunting for these, merely revisiting packages previously looked at for clang16 even if not an issue "yet"). Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'x11-plugins')
-rw-r--r--x11-plugins/asmem/asmem-1.12-r2.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/x11-plugins/asmem/asmem-1.12-r2.ebuild b/x11-plugins/asmem/asmem-1.12-r2.ebuild
index 02804f6c2ddb..da11dba67c3f 100644
--- a/x11-plugins/asmem/asmem-1.12-r2.ebuild
+++ b/x11-plugins/asmem/asmem-1.12-r2.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit toolchain-funcs
+inherit flag-o-matic toolchain-funcs
DESCRIPTION="Monitor the utilization level of memory, cache and swap space"
HOMEPAGE="http://www.tigr.net/"
@@ -34,6 +34,7 @@ PATCHES=(
src_configure() {
tc-export CC # old autoconf
+ append-cflags -std=gnu89 # old codebase, incompatible with c2x
econf $(use_enable jpeg)
}