<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/57f6a37383ad2acd0b25bcec198cbd09f6bab03f">https://github.com/macports/macports-ports/commit/57f6a37383ad2acd0b25bcec198cbd09f6bab03f</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 57f6a37 wine-devel: Fix build on 10.8 and earlier
</span>57f6a37 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 57f6a37383ad2acd0b25bcec198cbd09f6bab03f
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Fri Dec 15 00:37:34 2017 -0600
<span style='display:block; white-space:pre;color:#404040;'> wine-devel: Fix build on 10.8 and earlier
</span>---
x11/wine-devel/Portfile | 1 +
x11/wine-devel/files/kCCAlgorithmAES.patch | 20 ++++++++++++++++++++
2 files changed, 21 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/x11/wine-devel/Portfile b/x11/wine-devel/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index c49717c..f32c9d4 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/x11/wine-devel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/x11/wine-devel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -93,6 +93,7 @@ depends_build port:bison \
</span> patchfiles BOOL.patch \
cups_headers.patch \
fix-flicker.patch \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ kCCAlgorithmAES.patch \
</span> mach_machine.patch
# Wine requires the program specified in INSTALL to create intermediate
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/x11/wine-devel/files/kCCAlgorithmAES.patch b/x11/wine-devel/files/kCCAlgorithmAES.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..8c6297a
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/x11/wine-devel/files/kCCAlgorithmAES.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,20 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Use the old name for kCCAlgorithmAES (kCCAlgorithmAES128) for compatibility
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+with OS X 10.8 and earlier.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- dlls/bcrypt/bcrypt_main.c.orig 2017-12-08 13:48:54.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ dlls/bcrypt/bcrypt_main.c 2017-12-15 00:32:42.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -913,13 +913,13 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ key->ref_decrypt = NULL;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if ((status = CCCryptorCreateWithMode( kCCEncrypt, kCCModeCBC, kCCAlgorithmAES, ccNoPadding, iv,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ if ((status = CCCryptorCreateWithMode( kCCEncrypt, kCCModeCBC, kCCAlgorithmAES128, ccNoPadding, iv,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ key->secret, key->secret_len, NULL, 0, 0, 0, &key->ref_encrypt )) != kCCSuccess)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ WARN( "CCCryptorCreateWithMode failed %d\n", status );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return STATUS_INTERNAL_ERROR;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if ((status = CCCryptorCreateWithMode( kCCDecrypt, kCCModeCBC, kCCAlgorithmAES, ccNoPadding, iv,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ if ((status = CCCryptorCreateWithMode( kCCDecrypt, kCCModeCBC, kCCAlgorithmAES128, ccNoPadding, iv,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ key->secret, key->secret_len, NULL, 0, 0, 0, &key->ref_decrypt )) != kCCSuccess)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ WARN( "CCCryptorCreateWithMode failed %d\n", status );
</span></pre><pre style='margin:0'>
</pre>