commit - de3c84b6c8bbf16375d2e224b441bf38fece5b9c
commit + 81e077a6cea50b04ac9be4f63abd004846653251
blob - 5a1188d24d06e95fa2a8afc67be7359b7fdfb6f1
blob + 66c1e5ac3b4515700307153d27d644399770fc97
--- .github/ci/before-install.sh
+++ .github/ci/before-install.sh
if [ "$CIRRUS_OS" = "darwin" ]; then
brew install autoconf \
automake \
- bison \
pkg-config \
ncurses \
- openssl \
ossp-uuid
fi
blob - a51529c96bbd21fc03ecd3acd8ae4225251a1d00
blob + a76d1e8930bc07a69b0c917abf83b12e25a4e87c
--- include/got_compat.h
+++ include/got_compat.h
#include "compat/imsg.h"
#endif
-/* Include Apple-specific headers when libcrypto is in use. */
-#if defined(HAVE_LIBCRYPTO) && defined(__APPLE__)
+/* Include Apple-specific headers. Mostly for crypto.*/
+#if defined(__APPLE__)
#define COMMON_DIGEST_FOR_OPENSSL
#include <CommonCrypto/CommonDigest.h>
#endif
blob - deabda5d8aec84464b9d75cbacf2ae77e665af58
blob + 756c326f7d619cfaaa0c5825f8b254e67e6ad4b7
--- libexec/got-read-gotconfig/parse.y
+++ libexec/got-read-gotconfig/parse.y
int lineno;
} YYSTYPE;
+#if defined(__APPLE__) && !defined(YYSTYPE)
+#warning "Setting YYSTYPE - is GNU Bison installed?"
+#define YYSTYPE YYSTYPE
+#endif
%}
%token ERROR