aboutsummaryrefslogtreecommitdiff
path: root/graphics/xli/patch-ad
blob: 571f48b3e5d76bbfceea89f326e4ed43d2085454 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ad,v 1.2 2005/10/23 20:02:57 rillig Exp $

--- png.c.orig	2005-02-28 00:42:39.000000000 +0000
+++ png.c	2005-09-18 04:22:14.076313248 +0000
@@ -3,6 +3,10 @@
  * Glenn Randers-Pehrson et al.  Any bugs are my fault. -- smar@reptiles.org
  */
 
+#if defined(linux)
+/* hack from gentoo to avoid a parse error on GLIBC /usr/include/string.h */
+#undef _BSD_SOURCE
+#endif
 #include "xli.h"
 #include "imagetypes.h"
 #include "pbm.h"