pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/news/suck added support for Darwin



details:   https://anonhg.NetBSD.org/pkgsrc/rev/448764e6346d
branches:  trunk
changeset: 520174:448764e6346d
user:      schwarz <schwarz%pkgsrc.org@localhost>
date:      Mon Oct 16 19:20:27 2006 +0000

description:
added support for Darwin

diffstat:

 news/suck/distinfo         |   3 ++-
 news/suck/patches/patch-ac |  30 ++++++++++++++++++++++++++++++
 2 files changed, 32 insertions(+), 1 deletions(-)

diffs (47 lines):

diff -r 1771f142baf7 -r 448764e6346d news/suck/distinfo
--- a/news/suck/distinfo        Mon Oct 16 19:02:53 2006 +0000
+++ b/news/suck/distinfo        Mon Oct 16 19:20:27 2006 +0000
@@ -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 -r 1771f142baf7 -r 448764e6346d news/suck/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/news/suck/patches/patch-ac        Mon Oct 16 19:20:27 2006 +0000
@@ -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



Home | Main Index | Thread Index | Old Index