https://bugs.winehq.org/show_bug.cgi?id=44174
Bug ID: 44174 Summary: implicit declaration of function 'CCCryptorCreateWithMode' Product: Wine Version: 3.0-rc1 Hardware: x86 OS: Mac OS X Status: UNCONFIRMED Severity: normal Priority: P2 Component: bcrypt Assignee: wine-bugs@winehq.org Reporter: wine@ryandesign.com
Hi, I'm the maintainer of wine in MacPorts.
wine 3.0-rc1 fails to build on Mac OS X 10.6 because you are using the function CCCryptorCreateWithMode which was introduced in OS X 10.7.
bcrypt_main.c: In function ‘key_set_params’: bcrypt_main.c:916: warning: implicit declaration of function ‘CCCryptorCreateWithMode’ bcrypt_main.c:916: error: ‘kCCModeCBC’ undeclared (first use in this function) bcrypt_main.c:916: error: (Each undeclared identifier is reported only once bcrypt_main.c:916: error: for each function it appears in.) bcrypt_main.c:916: error: ‘ccNoPadding’ undeclared (first use in this function)
Here is a build log of the failure:
https://build.macports.org/builders/ports-10.6_x86_64_legacy-builder/builds/...
I don't know how to fix this; I don't know what 10.6-compatible functionality would be equivalent to CCCryptorCreateWithMode.