summaryrefslogtreecommitdiff
path: root/graphics/xli
diff options
context:
space:
mode:
authorreed <reed@pkgsrc.org>2005-10-10 19:56:07 +0000
committerreed <reed@pkgsrc.org>2005-10-10 19:56:07 +0000
commit9ec3a6344c18de949ec64f5c3c7bcedb2db39aba (patch)
tree5d6aead99f3e5aaca66f29c67262082e8277dffd /graphics/xli
parent33ae701b89879d8b224a3c483f5328419e3e6a96 (diff)
downloadpkgsrc-9ec3a6344c18de949ec64f5c3c7bcedb2db39aba.tar.gz
Add patch-ad:
It undefines _BSD_SOURCE if on Linux system to avoid a parse error on GLIBC /usr/include/string.h. This hack is from gentoo.
Diffstat (limited to 'graphics/xli')
-rw-r--r--graphics/xli/distinfo3
-rw-r--r--graphics/xli/patches/patch-ad13
2 files changed, 15 insertions, 1 deletions
diff --git a/graphics/xli/distinfo b/graphics/xli/distinfo
index 8fc5cc7244e..9f9c7097d9b 100644
--- a/graphics/xli/distinfo
+++ b/graphics/xli/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.15 2005/03/21 15:19:28 salo Exp $
+$NetBSD: distinfo,v 1.16 2005/10/10 19:56:07 reed Exp $
SHA1 (xli-2005-02-27.tar.gz) = 977d8ece0edd41f3ec606310496cf3231f046d88
RMD160 (xli-2005-02-27.tar.gz) = fc83fa5173befa73a0eeb56ad323dad148ef1426
@@ -6,3 +6,4 @@ Size (xli-2005-02-27.tar.gz) = 201011 bytes
SHA1 (patch-aa) = e9092fdad849405c5a42760e64875566ed1e04f7
SHA1 (patch-ab) = 4c9e01d046fb96c056799b078c5d78451270f52e
SHA1 (patch-ac) = b4fca6bc9c198728aa3adc0a9f8afaf5be5a004a
+SHA1 (patch-ad) = 6a5bbb3722d01f3a71eaa121f86699604700ebbe
diff --git a/graphics/xli/patches/patch-ad b/graphics/xli/patches/patch-ad
new file mode 100644
index 00000000000..45323635e51
--- /dev/null
+++ b/graphics/xli/patches/patch-ad
@@ -0,0 +1,13 @@
+--- 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"