diff options
author | joerg <joerg@pkgsrc.org> | 2007-08-08 20:22:10 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2007-08-08 20:22:10 +0000 |
commit | 15cc144275f60fc6cb6a31503e3eebe943e45558 (patch) | |
tree | 4295577f1725c212b68068b2b0450701662440c9 /net/mrtg | |
parent | 41d8a226af28f01fc594e767add0f7b593b0d5d0 (diff) | |
download | pkgsrc-15cc144275f60fc6cb6a31503e3eebe943e45558.tar.gz |
Don't use malloc.h
Diffstat (limited to 'net/mrtg')
-rw-r--r-- | net/mrtg/distinfo | 3 | ||||
-rw-r--r-- | net/mrtg/patches/patch-aa | 16 |
2 files changed, 18 insertions, 1 deletions
diff --git a/net/mrtg/distinfo b/net/mrtg/distinfo index fb7c3524f2a..8529ad17491 100644 --- a/net/mrtg/distinfo +++ b/net/mrtg/distinfo @@ -1,8 +1,9 @@ -$NetBSD: distinfo,v 1.25 2007/05/16 09:01:13 martti Exp $ +$NetBSD: distinfo,v 1.26 2007/08/08 20:22:16 joerg Exp $ SHA1 (mrtg-2.15.2.tar.gz) = 1d814dfeeaa77f83a0e6c20c4b9a5f9dcbd24089 RMD160 (mrtg-2.15.2.tar.gz) = cf21cfeb5e68b00fec7552b58c60ad22a0c47e47 Size (mrtg-2.15.2.tar.gz) = 1070900 bytes +SHA1 (patch-aa) = 2874cd59371db10fbc4ff6c29e3a917a4b8eec55 SHA1 (patch-ab) = bf367e6c43030a9cb64a88336b66932d7e05025c SHA1 (patch-ac) = e12f74ea083c1e3a7793afc35dcd698611823d81 SHA1 (patch-ad) = f6d737bad01ffbfdeb40fe08361810881f0257d5 diff --git a/net/mrtg/patches/patch-aa b/net/mrtg/patches/patch-aa new file mode 100644 index 00000000000..fe38aa794e0 --- /dev/null +++ b/net/mrtg/patches/patch-aa @@ -0,0 +1,16 @@ +$NetBSD: patch-aa,v 1.18 2007/08/08 20:22:16 joerg Exp $ + +--- src/rateup.c.orig 2007-08-08 20:01:48.000000000 +0000 ++++ src/rateup.c +@@ -48,11 +48,6 @@ + #define GFORM_GD gdImagePng + #endif + +-/* BSD* does not have/need malloc.h */ +-#if !defined(bsdi) && !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__APPLE__) +-#include <malloc.h> +-#endif +- + /* MSVCRT.DLL does not know %ll in printf */ + #ifdef __MINGW32_VERSION + #define LLD "%I64d" |