Re: Git on Mac OS X 10.4.10
From: Markus Hitter <hidden>
Date: 2016-06-15 23:02:16
Am 14.08.2014 um 16:39 schrieb Torsten Bögershausen:
On 08/14/2014 02:13 PM, Markus Hitter wrote:quoted
Issue 2: I need this simple patch ...--- compat/apple-common-crypto.h.org 2014-07-30 23:19:53.000000000 +0200 +++ compat/apple-common-crypto.h 2014-08-14 12:57:37.000000000 +0200@@ -2,7 +2,7 @@ #define OPENSSL_NO_MD5 #define HEADER_HMAC_H #define HEADER_SHA_H -#include <CommonCrypto/CommonHMAC.h> +//#include <CommonCrypto/CommonHMAC.h> #define HMAC_CTX CCHmacContext #define HMAC_Init(hmac, key, len, algo) CCHmacInit(hmac, algo, key,len) #define HMAC_Update CCHmacUpdateThe <CommonCrypto/CommonHMAC.h> is in Mac OS X 10.6 .. 10.9, but not in 10.4 (I don't know about 10.5). You can try to tweak the "makefiles", search for NO_APPLE_COMMON_CRYPTO, and set NO_APPLE_COMMON_CRYPTO, but only for Darwin 10.3 (or below)
Thanks. This: export NO_APPLE_COMMON_CRYPTO=yes make configure CFLAGS=-O2 ./configure --without-tcltk --prefix=/usr/global make all compiles fine on 10.4.10. Would a configure patch checking for the existence of CommonHMAC.h and, if not found, defining this variable, be acceptable? Googling around, it's a bit unclear to me on how to contribute something to Git. Markus -- - - - - - - - - - - - - - - - - - - - Dipl. Ing. (FH) Markus Hitter http://www.jump-ing.de/