diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-10-31 21:06:00 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-10-31 21:06:00 +0000 |
commit | c9c609463fab9bcfb35694627bca1429a21fdbb2 (patch) | |
tree | 024860c3c54aa33cdb6972acd3e2e0b8484f3aa7 /app-misc/egads/files | |
parent | 6dd9db91dd6ce9bbe3197aa82642866e637ba68d (diff) |
gentoo auto-resync : 31:10:2022 - 21:05:59
Diffstat (limited to 'app-misc/egads/files')
-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 */ |