pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/quagga-devel Not every platform has malloc.h. App...
details: https://anonhg.NetBSD.org/pkgsrc/rev/67eac1c64f90
branches: trunk
changeset: 522076:67eac1c64f90
user: minskim <minskim%pkgsrc.org@localhost>
date: Sat Dec 02 05:06:33 2006 +0000
description:
Not every platform has malloc.h. Apply a patch from the Quagga CVS.
diffstat:
net/quagga-devel/distinfo | 3 ++-
net/quagga-devel/patches/patch-ab | 15 +++++++++++++++
2 files changed, 17 insertions(+), 1 deletions(-)
diffs (31 lines):
diff -r 1b5a53602986 -r 67eac1c64f90 net/quagga-devel/distinfo
--- a/net/quagga-devel/distinfo Sat Dec 02 01:05:50 2006 +0000
+++ b/net/quagga-devel/distinfo Sat Dec 02 05:06:33 2006 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.3 2006/06/05 13:58:54 gdt Exp $
+$NetBSD: distinfo,v 1.4 2006/12/02 05:06:33 minskim Exp $
SHA1 (quagga-0.99.4.tar.gz) = eb5c12c6345e7651114c704dd3c945d0c7595c10
RMD160 (quagga-0.99.4.tar.gz) = a0818323c7dc714ed9514cf3cb8110a891b2fa5d
Size (quagga-0.99.4.tar.gz) = 2207774 bytes
SHA1 (patch-aa) = 1f79ffb63837c2e93204906c7ec96373154ced2e
+SHA1 (patch-ab) = e6b98d9f0ebbf8ce7ddc1ac6fc70a6da0a5a0234
diff -r 1b5a53602986 -r 67eac1c64f90 net/quagga-devel/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/quagga-devel/patches/patch-ab Sat Dec 02 05:06:33 2006 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-ab,v 1.1 2006/12/02 05:06:33 minskim Exp $
+
+--- lib/memory.c.orig 2006-03-30 05:47:38.000000000 -0800
++++ lib/memory.c
+@@ -21,7 +21,10 @@
+ */
+
+ #include <zebra.h>
++/* malloc.h is generally obsolete, however GNU Libc mallinfo wants it. */
++#if !defined(HAVE_STDLIB_H) || (defined(GNU_LINUX) && defined(HAVE_MALLINFO))
+ #include <malloc.h>
++#endif /* !HAVE_STDLIB_H || HAVE_MALLINFO */
+
+ #include "log.h"
+ #include "memory.h"
Home |
Main Index |
Thread Index |
Old Index