summaryrefslogtreecommitdiff
path: root/sysutils/cdrtools/files/patch-include__schily__sha2.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/cdrtools/files/patch-include__schily__sha2.h')
-rw-r--r--sysutils/cdrtools/files/patch-include__schily__sha2.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/sysutils/cdrtools/files/patch-include__schily__sha2.h b/sysutils/cdrtools/files/patch-include__schily__sha2.h
new file mode 100644
index 000000000000..90d22a32b4da
--- /dev/null
+++ b/sysutils/cdrtools/files/patch-include__schily__sha2.h
@@ -0,0 +1,14 @@
+--- include/schily/sha2.h.orig 2009-08-09 14:29:59.000000000 +0200
++++ include/schily/sha2.h 2012-10-20 14:25:05.000000000 +0200
+@@ -102,9 +102,11 @@
+
+ #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 *));