pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/xli Add patch-ad:
details: https://anonhg.NetBSD.org/pkgsrc/rev/4227fb2b2e58
branches: trunk
changeset: 500601:4227fb2b2e58
user: reed <reed%pkgsrc.org@localhost>
date: Mon Oct 10 19:56:07 2005 +0000
description:
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:
graphics/xli/distinfo | 3 ++-
graphics/xli/patches/patch-ad | 13 +++++++++++++
2 files changed, 15 insertions(+), 1 deletions(-)
diffs (31 lines):
diff -r 2c1e2d5eb164 -r 4227fb2b2e58 graphics/xli/distinfo
--- a/graphics/xli/distinfo Mon Oct 10 19:54:13 2005 +0000
+++ b/graphics/xli/distinfo Mon Oct 10 19:56:07 2005 +0000
@@ -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 @@
SHA1 (patch-aa) = e9092fdad849405c5a42760e64875566ed1e04f7
SHA1 (patch-ab) = 4c9e01d046fb96c056799b078c5d78451270f52e
SHA1 (patch-ac) = b4fca6bc9c198728aa3adc0a9f8afaf5be5a004a
+SHA1 (patch-ad) = 6a5bbb3722d01f3a71eaa121f86699604700ebbe
diff -r 2c1e2d5eb164 -r 4227fb2b2e58 graphics/xli/patches/patch-ad
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/xli/patches/patch-ad Mon Oct 10 19:56:07 2005 +0000
@@ -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@localhost
+ */
+
++#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"
Home |
Main Index |
Thread Index |
Old Index