From: Jeff King Date: Thu, 11 Sep 2008 12:12:16 GMT Subject: Re: [PATCH] Use compatibility regex library also on AIX Message-ID: <20080911121216.GB17303@coredump.intra.peff.net> In-Reply-To: On Thu, Sep 11, 2008 at 09:31:25AM +0100, Mike Ralphson wrote: > I think the reason it's in pu is that it's in maint, master and next too... > > All my test runs went bang this morning. 8-) Mine too. :) This is needed for FreeBSD, as well. No idea about OpenBSD or others. Should probably be squashed with the AIX patch if it's not too late. -- >8 -- Use compatibility regex library also on FreeBSD Commit 3632cfc24 makes the same change for Darwin; however, the problem also exists on FreeBSD. Signed-off-by: Jeff King --- diff --git a/Makefile b/Makefile index 247cd2d..9b1bd7b 100644 --- a/Makefile +++ b/Makefile @@ -688,6 +688,8 @@ ifeq ($(uname_S),FreeBSD) BASIC_LDFLAGS += -L/usr/local/lib DIR_HAS_BSD_GROUP_SEMANTICS = YesPlease THREADED_DELTA_SEARCH = YesPlease + COMPAT_CFLAGS += -Icompat/regex + COMPAT_OBJS += compat/regex/regex.o endif ifeq ($(uname_S),OpenBSD) NO_STRCASESTR = YesPlease