SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
18
sysutils/cdrtools/patches/patch-include_schily_sha2_h
Normal file
18
sysutils/cdrtools/patches/patch-include_schily_sha2_h
Normal file
|
@ -0,0 +1,18 @@
|
|||
can't provide inconsistent protos for pragma weak functions.
|
||||
(from freebsd)
|
||||
|
||||
Index: include/schily/sha2.h
|
||||
--- include/schily/sha2.h.orig
|
||||
+++ include/schily/sha2.h
|
||||
@@ -102,9 +102,11 @@ extern char *SHA256Data __PR((const UInt8_t *, size_t
|
||||
|
||||
#ifdef HAVE_LONGLONG
|
||||
extern void SHA384Init __PR((SHA2_CTX *));
|
||||
+#ifndef HAVE_PRAGMA_WEAK
|
||||
extern void SHA384Transform __PR((UInt64_t state[8], const UInt8_t [SHA384_BLOCK_LENGTH]));
|
||||
extern void SHA384Update __PR((SHA2_CTX *, const UInt8_t *, size_t));
|
||||
extern void SHA384Pad __PR((SHA2_CTX *));
|
||||
+#endif
|
||||
extern void SHA384Final __PR((UInt8_t [SHA384_DIGEST_LENGTH], SHA2_CTX *));
|
||||
extern char *SHA384End __PR((SHA2_CTX *, char *));
|
||||
extern char *SHA384File __PR((const char *, char *));
|
Loading…
Add table
Add a link
Reference in a new issue