diff options
Diffstat (limited to 'news')
-rw-r--r-- | news/suck/distinfo | 3 | ||||
-rw-r--r-- | news/suck/patches/patch-ac | 30 |
2 files changed, 32 insertions, 1 deletions
diff --git a/news/suck/distinfo b/news/suck/distinfo index dc1914ef8a0..7630a395b60 100644 --- a/news/suck/distinfo +++ b/news/suck/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.8 2006/10/15 21:59:13 schwarz Exp $ +$NetBSD: distinfo,v 1.9 2006/10/16 19:20:27 schwarz Exp $ SHA1 (suck-4.3.2.tar.gz) = 8c48889e407473ab565a3d8ba5cda969862d216a RMD160 (suck-4.3.2.tar.gz) = bbe952cc1dc8c76fad6651b3530cb87daeb6bb1a Size (suck-4.3.2.tar.gz) = 187560 bytes SHA1 (patch-aa) = 970ffa385a2b2b3f95944ba9a4321452bb247319 SHA1 (patch-ab) = 551a93e4e19ddab218e21b37a7ab7cbf3167e76b +SHA1 (patch-ac) = a87364cfc877f2ba782fda6f855da37a1beef09d diff --git a/news/suck/patches/patch-ac b/news/suck/patches/patch-ac new file mode 100644 index 00000000000..0c4bc288e36 --- /dev/null +++ b/news/suck/patches/patch-ac @@ -0,0 +1,30 @@ +$NetBSD: patch-ac,v 1.1 2006/10/16 19:20:27 schwarz Exp $ + +--- chkhistory_db.c.orig 2006-10-16 21:08:31.000000000 +0200 ++++ chkhistory_db.c 2006-10-16 21:13:25.000000000 +0200 +@@ -5,6 +5,9 @@ + /* be used. */ + + #include <stdio.h> ++#if HAVE_STRING_H ++# include <string.h> /* for strlen() */ ++#endif + + #include "suck_config.h" + #include "suck.h" +@@ -47,8 +50,13 @@ + #endif + + #ifdef USE_DBM +-#include <dbm.h> +-#define close_history() dbmclose(); ++# ifdef __APPLE__ /* Darwin has ndbm.h, but libdbm */ ++# define USE_NDBM ++# undef USE_DBM ++# else ++# include <dbm.h> ++# define close_history() dbmclose(); ++# endif + #endif + + #ifdef USE_GDBM |