Theo Buehler: > There's one build warning: > > /usr/ports/pobj/png-1.6.35/libpng-1.6.35/contrib/libtests/pngvalid.c:11661:4: > warning: implicit declaration of function 'feenableexcept' is invalid in C99 > [-Wimplicit-function-declaration] > feenableexcept(FE_DIVBYZERO | FE_INVALID | FE_OVERFLOW);
It's in contrib, so we don't care... Well, that one is used by the tests, but still. *shrug* > If a more experienced porter agrees with this, please include it with > your diff. > + #define _POSIX_SOURCE 1 > + #define _ISOC99_SOURCE 1 /* For floating point */ > +-#define _GNU_SOURCE 1 /* For the floating point exception extension */ > ++#define _BSD_SOURCE 1 /* For the floating point exception extension */ If I wanted to patch this, I'd add the _BSD_SOURCE line without replacing the _GNU_SOURCE one. -- Christian "naddy" Weisgerber na...@mips.inka.de