{"thread":{"id":"18463","subject":"[PATCH] Makefile: turn on USE_ST_TIMESPEC for FreeBSD","startedAt":"2009-03-22T08:08:48Z","lastAt":"2009-03-22T14:15:57Z","messageCount":2,"participants":["Jeff King","Kjetil Barvik"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"108886","messageId":"20090322080847.GA9075@coredump.intra.peff.net","threadId":"18463","inReplyTo":null,"subject":"[PATCH] Makefile: turn on USE_ST_TIMESPEC for FreeBSD","fromName":"Jeff King","fromEmail":"peff@peff.net","sentAt":"2009-03-22T08:08:48Z","receivedAt":"2009-03-22T08:08:48Z","isPatch":true,"sender":{"key":"peff@peff.net","avatar":"https://avatars.githubusercontent.com/u/45925?v=4"},"body":"Fixes broken compilation on FreeBSD 6.1.\n\nSigned-off-by: Jeff King <peff@peff.net>\n---\nNo idea if older versions support this, or if they just need NO_NSEC\ninstead.\n\n Makefile |    1 +\n 1 files changed, 1 insertions(+), 0 deletions(-)\n\ndiff --git a/Makefile b/Makefile\nindex aae3b09..320c897 100644\n--- a/Makefile\n+++ b/Makefile\n@@ -713,6 +713,7 @@ ifeq ($(uname_S),FreeBSD)\n \tBASIC_CFLAGS += -I/usr/local/include\n \tBASIC_LDFLAGS += -L/usr/local/lib\n \tDIR_HAS_BSD_GROUP_SEMANTICS = YesPlease\n+\tUSE_ST_TIMESPEC = YesPlease\n \tTHREADED_DELTA_SEARCH = YesPlease\n \tifeq ($(shell expr \"$(uname_R)\" : '4\\.'),2)\n \t\tPTHREAD_LIBS = -pthread\n-- \n1.6.2.1.276.gd47fa\n"},{"id":"108896","messageId":"86skl5d4o2.fsf@broadpark.no","threadId":"18463","inReplyTo":"20090322080847.GA9075@coredump.intra.peff.net","subject":"Re: [PATCH] Makefile: turn on USE_ST_TIMESPEC for FreeBSD","fromName":"Kjetil Barvik","fromEmail":"barvik@broadpark.no","sentAt":"2009-03-22T14:15:57Z","receivedAt":"2009-03-22T14:15:57Z","isPatch":true,"sender":{"key":"barvik@broadpark.no","avatar":null},"body":"Jeff King <peff@peff.net> writes:\n\n> Fixes broken compilation on FreeBSD 6.1.\n>\n> Signed-off-by: Jeff King <peff@peff.net>\n> ---\n> No idea if older versions support this, or if they just need NO_NSEC\n> instead.\n\n  I google'd a litle and found this:\n\n    http://fuse4bsd.creo.hu/localcgi/man-cgi.cgi?lstat+2\n    http://www.nabble.com/st_mtimespec-or-st_mtime--td21217981.html\n\n  So, at least FreeBSD 6.2 also seems to need this.  And I suspect that\n  OpenBSD and/or NetBSD maybe need a simmilar patch.  Anybody who can\n  test this?\n\n  -- kjetil\n\n>  Makefile |    1 +\n>  1 files changed, 1 insertions(+), 0 deletions(-)\n>\n> diff --git a/Makefile b/Makefile\n> index aae3b09..320c897 100644\n> --- a/Makefile\n> +++ b/Makefile\n> @@ -713,6 +713,7 @@ ifeq ($(uname_S),FreeBSD)\n>  \tBASIC_CFLAGS += -I/usr/local/include\n>  \tBASIC_LDFLAGS += -L/usr/local/lib\n>  \tDIR_HAS_BSD_GROUP_SEMANTICS = YesPlease\n> +\tUSE_ST_TIMESPEC = YesPlease\n>  \tTHREADED_DELTA_SEARCH = YesPlease\n>  \tifeq ($(shell expr \"$(uname_R)\" : '4\\.'),2)\n>  \t\tPTHREAD_LIBS = -pthread\n"}]}