> From: Joachim Schmitz [mailto:[email protected]] > Sent: Friday, August 10, 2012 10:09 PM > To: 'Shawn Pearce' > Cc: '[email protected]'; '[email protected]' > Subject: RE: Porting git to HP NonStop > > > From: Joachim Schmitz [mailto:[email protected]] > > Sent: Friday, August 10, 2012 7:33 PM > > To: 'Shawn Pearce' > > Cc: '[email protected]'; '[email protected]' > > Subject: RE: Porting git to HP NonStop > > > > > From: Shawn Pearce [mailto:[email protected]] > > > Sent: Friday, August 10, 2012 6:28 PM > > > To: Joachim Schmitz > > > Cc: [email protected]; [email protected] > > > Subject: Re: Porting git to HP NonStop > > > > > > On Fri, Aug 10, 2012 at 8:04 AM, Joachim Schmitz > > > <[email protected]> > > > wrote: > <snip> > > > >> - HP NonStop doesn't have stat.st_?time.nsec, there are several > > > >> places > > > > what an > > > >> "#ifdef USE_NSEC" is missing, I can provide a diff if needed > > > >> (offending > > > >> files: builtin/fetch-pack.c and read-cache.c). > > > > > > I think this would be appreciated by anyone else that has a similar > > > problem where the platform lacks nsec. > > > > Will do. > > OK, here we go: > > /usr/local/bin/diff -EBbu ./builtin/fetch-pack.c.orig ./builtin/fetch-pack.c <snip>
Sorry, this is not needed if I just set NO_NSEC, so just forget about it (and thanks to Junio for telling be) > /usr/local/bin/diff -EBbu ./git-compat-util.h.orig ./git-compat-util.h > --- ./git-compat-util.h.orig 2012-07-30 15:50:38 -0500 > +++ ./git-compat-util.h 2012-08-10 09:59:56 -0500 > @@ -74,7 +74,8 @@ > # define _XOPEN_SOURCE 500 > # endif > #elif !defined(__APPLE__) && !defined(__FreeBSD__) && !defined(__USLC__) > && \ > - !defined(_M_UNIX) && !defined(__sgi) && !defined(__DragonFly__) > + !defined(_M_UNIX) && !defined(__sgi) && !defined(__DragonFly__) && \ > + !defined(__TANDEM) > #define _XOPEN_SOURCE 600 /* glibc2 and AIX 5.3L need 500, OpenBSD > needs 600 for S_ISLNK() */ #define _XOPEN_SOURCE_EXTENDED 1 /* AIX 5.3L > needs this */ #endif @@ -98,6 +99,11 @@ #include <stdlib.h> #include > <stdarg.h> #include <string.h> > +#ifdef __TANDEM > +# include <strings.h> /* for strcasecmp() */ > + typedef long int intptr_t; > + typedef unsigned long int uintptr_t; > +#endif > #include <errno.h> > #include <limits.h> > #include <sys/param.h> This one still stands though, unless someone can come up with a better idea? Bye, Jojo -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

