summaryrefslogtreecommitdiff
path: root/graphics/xli/patch-ad
diff options
context:
space:
mode:
authorLeonard Schmidt <lems@gmx.net>2014-08-14 22:42:09 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-08-15 23:21:32 +0700
commit1c650c30bc1f11d66d1859d7432051d4f80d5450 (patch)
treeca65f3b33f63f5d2bd301cf6f3f79033e118e30d /graphics/xli/patch-ad
parentaf741c4e20fb394b1a7bb26fa45c757f4baade1a (diff)
downloadslackbuilds-1c650c30bc1f11d66d1859d7432051d4f80d5450.tar.gz
graphics/xli: Added (X11 Image Loading Utility).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/xli/patch-ad')
-rw-r--r--graphics/xli/patch-ad15
1 files changed, 15 insertions, 0 deletions
diff --git a/graphics/xli/patch-ad b/graphics/xli/patch-ad
new file mode 100644
index 0000000000..571f48b3e5
--- /dev/null
+++ b/graphics/xli/patch-ad
@@ -0,0 +1,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"