diff options
author | minskim <minskim@pkgsrc.org> | 2006-12-02 05:06:33 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2006-12-02 05:06:33 +0000 |
commit | c10b848660e22c82da865c18343c76b6684b6b83 (patch) | |
tree | 2f67015aec29b1cc2b7e0092adade1ed61055fff /net | |
parent | d0f4ede5022232d6a57acb273b47874de47b5089 (diff) | |
download | pkgsrc-c10b848660e22c82da865c18343c76b6684b6b83.tar.gz |
Not every platform has malloc.h. Apply a patch from the Quagga CVS.
Diffstat (limited to 'net')
-rw-r--r-- | net/quagga-devel/distinfo | 3 | ||||
-rw-r--r-- | net/quagga-devel/patches/patch-ab | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/net/quagga-devel/distinfo b/net/quagga-devel/distinfo index 1f9388fbb56..117c67e5aeb 100644 --- a/net/quagga-devel/distinfo +++ b/net/quagga-devel/distinfo @@ -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 --git a/net/quagga-devel/patches/patch-ab b/net/quagga-devel/patches/patch-ab new file mode 100644 index 00000000000..d55933851f5 --- /dev/null +++ b/net/quagga-devel/patches/patch-ab @@ -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" |