diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-09-28 09:11:58 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-09-28 09:11:58 +0100 |
commit | c50fa1b9d54c15707ec744b80db6610da7dd7832 (patch) | |
tree | 32b63837ee84220100640b5b035b0f8f94405b88 /net-misc/hashcash | |
parent | 1bc9c3b9d5a8c51b67f6ea2f57bdd76ff5073097 (diff) |
gentoo auto-resync : 28:09:2022 - 09:11:58
Diffstat (limited to 'net-misc/hashcash')
-rw-r--r-- | net-misc/hashcash/Manifest | 3 | ||||
-rw-r--r-- | net-misc/hashcash/files/hashcash-1.22-clang16.patch | 11 | ||||
-rw-r--r-- | net-misc/hashcash/hashcash-1.22-r2.ebuild | 14 |
3 files changed, 25 insertions, 3 deletions
diff --git a/net-misc/hashcash/Manifest b/net-misc/hashcash/Manifest index f00fd6a2ffa1..996af5415288 100644 --- a/net-misc/hashcash/Manifest +++ b/net-misc/hashcash/Manifest @@ -1,3 +1,4 @@ +AUX hashcash-1.22-clang16.patch 259 BLAKE2B c4f97047d7cfc3f94dab0df491b843d4263816471e126356c8b2dc7a7273e7cd958f6eca6ed07a96e2ee8769579f293cf496a9b8a9950d12878b2e760ce57cbe SHA512 b8a71f64ed6e611543619bc6c1e4e195e24c4462a748dbce1cb600d99d94c6079475b091f40be307293b39185f74d84a1bbf277391840c0b17418254acedaf4e DIST hashcash-1.22.tgz 195193 BLAKE2B 2944dd8a852720af7deff1a85cbfc07e828bf2242996b95d8d05a3a8a3ece90abc47483252920ec14b603978aae2ddb9e770ef7b52904b3d24320b68e6695b37 SHA512 b803c27df2acdce70c587d15d4158ca8841328fd89d90213a00be35f7c9f1905db728a785ee70fa43a4262dabe20c3f0a9fff381e3db0d44c3175ca22da5d5c2 -EBUILD hashcash-1.22-r2.ebuild 670 BLAKE2B f6b042f0c1367fa7f5b0b1cca7deb08d28ac09ac7dc560424912f84e7034d212f2f7d9d842315f39795e3c5abc858c683a991ecd97cd190a2f90215b4a3ba61c SHA512 3bec3f7e0f646ae7d40deb894e6c0e137e2403d3f5e1d2b681af2058b94382d20a1152a9e4ffed00e6ff4eefebb4209a1ad76a19d8d468eba160d99b84e400db +EBUILD hashcash-1.22-r2.ebuild 722 BLAKE2B 69e464afa7bb7651b2a6e7475d0ddc860a4e4ab7c1544f24acc96c8c7fea42e3d4ef64db87d6449de4eff1e9400f28af25f797b7a8b566fd6149bf264bd4f4de SHA512 a8dfdf3eb3baeb6860e7d489c118c2be6324005bd990c091622ac4a76017253c254e216756c9d1ce2696eb6201579eccca49ddc8e1d22e456c5af04f5a801287 MISC metadata.xml 169 BLAKE2B 25149b73446be31f3ea3dd3a6394230987e7d4c601d1605fd3827b37bd99b3301c2e0edb95d0f59a4577ed27919f43c2cc02b1edf62c4012b935a82e709e0c05 SHA512 55c53f74b001bae56ba8c54581a4168335b6b3a28dac23a2102b76795d5fd41de33b8b3e1ec03f9acc6e7a3a77e93b1a6ff3e3967c3156dcbf22b5b5a6245ef5 diff --git a/net-misc/hashcash/files/hashcash-1.22-clang16.patch b/net-misc/hashcash/files/hashcash-1.22-clang16.patch new file mode 100644 index 000000000000..1ec15b110555 --- /dev/null +++ b/net-misc/hashcash/files/hashcash-1.22-clang16.patch @@ -0,0 +1,11 @@ +https://bugs.gentoo.org/870466 +--- a/sha1.h ++++ b/sha1.h +@@ -59,4 +59,7 @@ + void SHA1_Init_With_IV( SHA1_ctx*, const byte[ SHA1_DIGEST_BYTES ] ); + ++void SHA1_Transform( word32 H[ SHA1_DIGEST_WORDS ], ++ const byte M[ SHA1_INPUT_BYTES ] ); ++ + #endif + diff --git a/net-misc/hashcash/hashcash-1.22-r2.ebuild b/net-misc/hashcash/hashcash-1.22-r2.ebuild index 867929119c5a..c52b23016a1b 100644 --- a/net-misc/hashcash/hashcash-1.22-r2.ebuild +++ b/net-misc/hashcash/hashcash-1.22-r2.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit toolchain-funcs @@ -13,20 +13,30 @@ LICENSE="CPL-1.0" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" +PATCHES=( + "${FILESDIR}"/${P}-clang16.patch +) + src_prepare() { default + sed -i -e "/COPT_GENERIC = -O3/d" Makefile || die } src_compile() { - emake CC="$(tc-getCC)" generic + tc-export AR CC + + emake generic } src_install() { dobin hashcash doman hashcash.1 + dodoc CHANGELOG + docinto examples dodoc contrib/hashcash-{request,sendmail{,.txt}} contrib/hashfork.{c,py,txt} + docompress -x /usr/share/doc/${PF}/examples } |