Skip to content

Instantly share code, notes, and snippets.

@asfdrwe
Created August 7, 2021 07:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save asfdrwe/d67a8822c678bb7d7d008cb4f4fc86d1 to your computer and use it in GitHub Desktop.
Save asfdrwe/d67a8822c678bb7d7d008cb4f4fc86d1 to your computer and use it in GitHub Desktop.
crossover-21.0.0 bcrypt and winecoreaudio patch
diff -uNr sources.orig/wine/dlls/bcrypt/macos.c sources/wine/dlls/bcrypt/macos.c
--- sources.orig/wine/dlls/bcrypt/macos.c 2021-08-07 10:03:32.000000000 +0900
+++ sources/wine/dlls/bcrypt/macos.c 2021-08-07 10:03:13.000000000 +0900
@@ -51,7 +51,9 @@
CCCryptorRef ref_encrypt;
CCCryptorRef ref_decrypt;
};
+#if 0
C_ASSERT( sizeof(struct key_data) <= sizeof(((struct key *)0)->private) );
+#endif
static struct key_data *key_data( struct key *key )
{
diff -uNr sources.orig/wine/dlls/winecoreaudio.drv/authorization.m sources/wine/dlls/winecoreaudio.drv/authorization.m
--- sources.orig/wine/dlls/winecoreaudio.drv/authorization.m 2021-01-26 04:24:29.000000000 +0900
+++ sources/wine/dlls/winecoreaudio.drv/authorization.m 2021-02-08 18:48:39.000000000 +0900
@@ -26,7 +26,8 @@
#include "coreaudio_cocoa.h"
-#ifdef HAVE_AVFOUNDATION_AVFOUNDATION_H
+// #ifdef HAVE_AVFOUNDATION_AVFOUNDATION_H
+#if 0
#if !defined(MAC_OS_X_VERSION_10_14) || MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment