From: Gary V. Vaughan Date: Tue, 16 Mar 2010 05:42:30 GMT Subject: [patch 10/15] host-OSF1.patch Message-ID: <20100316054347.542270000@mlists.thewrittenword.com> In-Reply-To: <20100316054220.075676000@mlists.thewrittenword.com> Add defaults for Tru64 Unix. Without this patch I cannot compile git on Tru64 5.1. --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) Index: b/Makefile =================================================================== --- a/Makefile +++ b/Makefile @@ -695,6 +695,12 @@ EXTLIBS = # because maintaining the nesting to match is a pain. If # we had "elif" things would have been much nicer... +ifeq ($(uname_S),OSF1) + # Need this for u_short definitions et al + BASIC_CFLAGS += -D_OSF_SOURCE + NO_STRTOULL = YesPlease + NO_NSEC = YesPlease +endif ifeq ($(uname_S),Linux) NO_STRLCPY = YesPlease NO_MKSTEMPS = YesPlease -- Gary V. Vaughan (gary@thewrittenword.com)