summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2022-10-11 04:25:02 -0400
committerIonen Wolkens <ionen@gentoo.org>2022-10-11 04:56:01 -0400
commit8bf4290f40da2be134d475198d6ed46dee40664f (patch)
tree187abc3219f2404fc91ccbd7166ac39951a28ba2 /net-misc/hashcash
parentnet-dialup/rp-l2tp: pass -std=gnu89 (diff)
downloadgentoo-8bf4290f40da2be134d475198d6ed46dee40664f.tar.gz
gentoo-8bf4290f40da2be134d475198d6ed46dee40664f.tar.bz2
gentoo-8bf4290f40da2be134d475198d6ed46dee40664f.zip
net-misc/hashcash: 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 'net-misc/hashcash')
-rw-r--r--net-misc/hashcash/hashcash-1.22-r2.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/net-misc/hashcash/hashcash-1.22-r2.ebuild b/net-misc/hashcash/hashcash-1.22-r2.ebuild
index c52b23016a1b..55d0da7126d5 100644
--- a/net-misc/hashcash/hashcash-1.22-r2.ebuild
+++ b/net-misc/hashcash/hashcash-1.22-r2.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit toolchain-funcs
+inherit flag-o-matic toolchain-funcs
DESCRIPTION="Utility to generate hashcash tokens"
HOMEPAGE="http://www.hashcash.org"
@@ -25,6 +25,7 @@ src_prepare() {
src_compile() {
tc-export AR CC
+ append-cflags -std=gnu89 # old codebase, incompatible with c2x
emake generic
}