diff options
author | Pascal Jäger <pascal.jaeger@leimstift.de> | 2022-10-23 09:16:58 +0200 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-10-31 17:39:47 +0000 |
commit | fb8013d3521d8c7d31a1d2bc3eaad9ef3faf99f8 (patch) | |
tree | 24dea70dcc99a9cbfa9febd3333ca617b96da18d /app-misc/egads/files/egads-0.9.5-make-build-work-with-clang16.patch | |
parent | sys-apps/systemd-utils: Explicitly disable bpf-framework (diff) | |
download | gentoo-fb8013d3521d8c7d31a1d2bc3eaad9ef3faf99f8.tar.gz gentoo-fb8013d3521d8c7d31a1d2bc3eaad9ef3faf99f8.tar.bz2 gentoo-fb8013d3521d8c7d31a1d2bc3eaad9ef3faf99f8.zip |
app-misc/egads: revbump, make build clang16 compatible
Bug: https://bugs.gentoo.org/312983
Closes: https://bugs.gentoo.org/870853
Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
Closes: https://github.com/gentoo/gentoo/pull/27910
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-misc/egads/files/egads-0.9.5-make-build-work-with-clang16.patch')
-rw-r--r-- | app-misc/egads/files/egads-0.9.5-make-build-work-with-clang16.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/app-misc/egads/files/egads-0.9.5-make-build-work-with-clang16.patch b/app-misc/egads/files/egads-0.9.5-make-build-work-with-clang16.patch new file mode 100644 index 000000000000..4f1b99c8f319 --- /dev/null +++ b/app-misc/egads/files/egads-0.9.5-make-build-work-with-clang16.patch @@ -0,0 +1,16 @@ +Clang16 does not allow K&R C function declarations by default. This changes the declaration to a modern C function declaration. + +Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de> + +--- a/sha1.c ++++ b/sha1.c +@@ -131,8 +131,7 @@ void SHAInit(SHA_CTX *shsInfo) + + Note that this corrupts the shsInfo->data area */ + +-static void SHSTransform( digest, data ) +- UINT4 *digest, *data ; ++static void SHSTransform(UINT4 *digest,UINT4 *data) + { + UINT4 A, B, C, D, E; /* Local vars */ + UINT4 eData[ 16 ]; /* Expanded data */ |