summaryrefslogtreecommitdiff
path: root/sysutils/cdrtools-devel
diff options
context:
space:
mode:
authorMarius Strobl <marius@FreeBSD.org>2012-10-20 13:56:03 +0000
committerMarius Strobl <marius@FreeBSD.org>2012-10-20 13:56:03 +0000
commit9b7c3e27ceba570f98178e49fcf908cde2084e22 (patch)
tree638edba0c6901257831c21e81da366e1213e98fc /sysutils/cdrtools-devel
parentFix build dependency line (diff)
Fix a bug preventing compilation with clang 3.1 (r156863).
PR: 172799 Approved by: netchild Obtained from: NetBSD Feature safe: yes
Notes
Notes: svn path=/head/; revision=306180
Diffstat (limited to 'sysutils/cdrtools-devel')
-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 *));