Re: devel/doxygen broken on macppc-current?
"John D. Baker" <[email protected]> Wed, 27 Jul 2016 10:36:19 -0500 (CDT)
| Newsgroups | gmane.os.netbsd.ports.powerpc |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 27 Jul 2016, Robert Swindells wrote: > Maybe try something like this: > > --- qdatetime.cpp.orig 2014-10-19 16:06:23.000000000 +0100 > +++ qdatetime.cpp 2016-07-27 01:09:46.893755645 +0100 > @@ -55,9 +55,11 @@ > #elif defined(_OS_UNIX_) || defined(_OS_MAC_) > #include <sys/time.h> > #include <unistd.h> > +#ifndef __NetBSD__ > #undef gettimeofday > extern "C" int gettimeofday( struct timeval *, struct timezone * ); > #endif > +#endif > > static const uint FIRST_DAY = 2361222; // Julian day for 1752/09/14 > static const int FIRST_YEAR = 1752; // ### wrong for many countries > This satisfies 'ld' and the resulting 'doxygen' binary doesn't segfault when returning to the build of "www/tidy". Thanks! -- |/"\ John D. Baker, KN5UKS NetBSD Darwin/MacOS X |\ / jdbaker[snail]mylinuxisp[flyspeck]com OpenBSD FreeBSD | X No HTML/proprietary data in email. BSD just sits there and works! |/ \ GPGkeyID: D703 4A7E 479F 63F8 D3F4 BD99 9572 8F23 E4AD 1645