From 33f7d26a0eeb17fd667a654edd75e3c790f4c3f0 Mon Sep 17 00:00:00 2001 From: dholland Date: Fri, 14 Oct 2011 04:42:10 +0000 Subject: Fix build of perdition-gdbm. --- mail/perdition/distinfo | 4 +++- mail/perdition/patches/patch-makegdbm_options_h | 16 ++++++++++++++++ .../patches/patch-perdition_db_gdbm_perditiondb_gdbm_h | 16 ++++++++++++++++ 3 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 mail/perdition/patches/patch-makegdbm_options_h create mode 100644 mail/perdition/patches/patch-perdition_db_gdbm_perditiondb_gdbm_h (limited to 'mail') diff --git a/mail/perdition/distinfo b/mail/perdition/distinfo index f148929e583..04ffc3c43b7 100644 --- a/mail/perdition/distinfo +++ b/mail/perdition/distinfo @@ -1,7 +1,9 @@ -$NetBSD: distinfo,v 1.8 2010/06/02 12:50:03 adam Exp $ +$NetBSD: distinfo,v 1.9 2011/10/14 04:42:10 dholland Exp $ SHA1 (perdition-1.18.tar.gz) = 60d76e2fca810fa1a12bebe369fc3e7d3452ebbb RMD160 (perdition-1.18.tar.gz) = 82065dcfb7f05d7bebcf98b72334f676d4fd5dad Size (perdition-1.18.tar.gz) = 602933 bytes SHA1 (patch-ac) = 01934fb919cc8ac7699e07e407d6e26706e98fbd SHA1 (patch-ag) = 3840c9b4ed6e6d286c1cbeebad7184f9ccdaac2a +SHA1 (patch-makegdbm_options_h) = f412c826e78bc80b64cf2311b1f815c5a950a773 +SHA1 (patch-perdition_db_gdbm_perditiondb_gdbm_h) = 7cdbc04771f00c13133766d39851df03ad959b9b diff --git a/mail/perdition/patches/patch-makegdbm_options_h b/mail/perdition/patches/patch-makegdbm_options_h new file mode 100644 index 00000000000..35e0a23e88c --- /dev/null +++ b/mail/perdition/patches/patch-makegdbm_options_h @@ -0,0 +1,16 @@ +$NetBSD: patch-makegdbm_options_h,v 1.1 2011/10/14 04:42:10 dholland Exp $ + +Fix build with recent gdbm. + +--- makegdbm/options.h~ 2009-09-29 02:17:19.000000000 +0000 ++++ makegdbm/options.h +@@ -38,9 +38,6 @@ + #include "config.h" + #endif + +-extern gdbm_error gdbm_errno; +-extern char *gdbm_version; +- + #define COPYRIGHT \ + "(c) 1999 Horms \nReleased under the GNU GPL\n" + diff --git a/mail/perdition/patches/patch-perdition_db_gdbm_perditiondb_gdbm_h b/mail/perdition/patches/patch-perdition_db_gdbm_perditiondb_gdbm_h new file mode 100644 index 00000000000..c94d3aef9b9 --- /dev/null +++ b/mail/perdition/patches/patch-perdition_db_gdbm_perditiondb_gdbm_h @@ -0,0 +1,16 @@ +$NetBSD: patch-perdition_db_gdbm_perditiondb_gdbm_h,v 1.1 2011/10/14 04:42:10 dholland Exp $ + +Fix build with recent gdbm. + +--- perdition/db/gdbm/perditiondb_gdbm.h~ 2009-09-29 02:17:19.000000000 +0000 ++++ perdition/db/gdbm/perditiondb_gdbm.h +@@ -30,9 +30,6 @@ + #include + #include + +-extern gdbm_error gdbm_errno; +-extern char *gdbm_version; +- + #ifndef PERDITIONDB_GDBM_SYSCONFDIR + #define PERDITIONDB_GDBM_SYSCONFDIR "/usr/local/etc/perdition" + #endif -- cgit v1.2.3