summaryrefslogtreecommitdiff
path: root/sysutils/cdrtools-devel/files/patch-include_schily_sha2.h
diff options
context:
space:
mode:
authorMarius Strobl <marius@FreeBSD.org>2018-05-20 00:34:01 +0000
committerMarius Strobl <marius@FreeBSD.org>2018-05-20 00:34:01 +0000
commitb61e33735f11655bd4b5cd8e3784fc1ae60d9958 (patch)
tree5f85e2dedcf001941eab51b3fdad5e950203415e /sysutils/cdrtools-devel/files/patch-include_schily_sha2.h
parentdevel/git-cinnabar: update to 0.5.0.b3 (diff)
- Update to 3.02a09
- Pet portlint
Notes
Notes: svn path=/head/; revision=470438
Diffstat (limited to 'sysutils/cdrtools-devel/files/patch-include_schily_sha2.h')
-rw-r--r--sysutils/cdrtools-devel/files/patch-include_schily_sha2.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/sysutils/cdrtools-devel/files/patch-include_schily_sha2.h b/sysutils/cdrtools-devel/files/patch-include_schily_sha2.h
new file mode 100644
index 000000000000..837c22b2b361
--- /dev/null
+++ b/sysutils/cdrtools-devel/files/patch-include_schily_sha2.h
@@ -0,0 +1,15 @@
+--- include/schily/sha2.h.orig 2010-08-27 10:41:30 UTC
++++ include/schily/sha2.h
+@@ -104,10 +104,12 @@ extern char *SHA256Data __PR((const UIn
+
+ #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 *));