summaryrefslogtreecommitdiff
path: root/sysutils/cdrtools-devel/files/patch-include__schily__sha2.h
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-29 15:00:12 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-29 15:00:12 +0000
commit7792c21583f7131ad63a9cb6e25b7ef38652d3a7 (patch)
tree35ae86a1ec3a303f6ac7c0146111c635eff41fb4 /sysutils/cdrtools-devel/files/patch-include__schily__sha2.h
parent- Switch databases/libmemcache to USES=libtool, drop .la files (diff)
Rename sysutils/ patch-xy patches to reflect the files they modify.
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..e93f886de086
--- /dev/null
+++ b/sysutils/cdrtools-devel/files/patch-include__schily__sha2.h
@@ -0,0 +1,15 @@
+--- include/schily/sha2.h.orig 2010-08-27 12:41:30.000000000 +0200
++++ include/schily/sha2.h 2012-10-20 14:39:42.000000000 +0200
+@@ -104,10 +104,12 @@
+
+ #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 *));