[97150] trunk/dports/sysutils/cdrtools
cal at macports.org
cal at macports.org
Tue Aug 28 01:38:56 PDT 2012
Revision: 97150
https://trac.macports.org/changeset/97150
Author: cal at macports.org
Date: 2012-08-28 01:38:53 -0700 (Tue, 28 Aug 2012)
Log Message:
-----------
cdrtools: fix "call to 'SHA384Pad' is ambiguous", closes #35377
Not that cdrtools still isn't UsingTheRightCompiler.
Modified Paths:
--------------
trunk/dports/sysutils/cdrtools/Portfile
Added Paths:
-----------
trunk/dports/sysutils/cdrtools/files/
trunk/dports/sysutils/cdrtools/files/patch-include_schily_sha2.h
Modified: trunk/dports/sysutils/cdrtools/Portfile
===================================================================
--- trunk/dports/sysutils/cdrtools/Portfile 2012-08-28 08:01:08 UTC (rev 97149)
+++ trunk/dports/sysutils/cdrtools/Portfile 2012-08-28 08:38:53 UTC (rev 97150)
@@ -30,6 +30,7 @@
depends_lib port:gettext
+patchfiles patch-include_schily_sha2.h
post-patch {
reinplace -locale C "s|/opt/schily|${prefix}|g" \
${worksrcpath}/DEFAULTS/Defaults.darwin \
Added: trunk/dports/sysutils/cdrtools/files/patch-include_schily_sha2.h
===================================================================
--- trunk/dports/sysutils/cdrtools/files/patch-include_schily_sha2.h (rev 0)
+++ trunk/dports/sysutils/cdrtools/files/patch-include_schily_sha2.h 2012-08-28 08:38:53 UTC (rev 97150)
@@ -0,0 +1,14 @@
+--- include/schily/sha2.h.orig 2009-08-09 14:29:59.000000000 +0200
++++ include/schily/sha2.h 2012-08-28 10:32:52.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 *));
Property changes on: trunk/dports/sysutils/cdrtools/files/patch-include_schily_sha2.h
___________________________________________________________________
Added: svn:keywords
+ Author Date Id Rev URL
Added: svn:eol-style
+ native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120828/2d5629e2/attachment.html>
More information about the macports-changes
mailing list