patch-ad 444 B

12345678910111213141516
  1. $NetBSD: patch-ad,v 1.2 2005/10/23 20:02:57 rillig Exp $
  2. --- png.c.orig 2005-02-28 00:42:39.000000000 +0000
  3. +++ png.c 2005-09-18 04:22:14.076313248 +0000
  4. @@ -3,6 +3,10 @@
  5. * Glenn Randers-Pehrson et al. Any bugs are my fault. -- smar@reptiles.org
  6. */
  7. +#if defined(linux)
  8. +/* hack from gentoo to avoid a parse error on GLIBC /usr/include/string.h */
  9. +#undef _BSD_SOURCE
  10. +#endif
  11. #include "xli.h"
  12. #include "imagetypes.h"
  13. #include "pbm.h"