summaryrefslogtreecommitdiff
path: root/mail/perdition
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2011-10-14 04:42:10 +0000
committerdholland <dholland@pkgsrc.org>2011-10-14 04:42:10 +0000
commit33f7d26a0eeb17fd667a654edd75e3c790f4c3f0 (patch)
tree758e3899e5ea3a48859faba1314d04103f3bae33 /mail/perdition
parent831fafca888c4ecda2a1eec065c0d28366863ec0 (diff)
downloadpkgsrc-33f7d26a0eeb17fd667a654edd75e3c790f4c3f0.tar.gz
Fix build of perdition-gdbm.
Diffstat (limited to 'mail/perdition')
-rw-r--r--mail/perdition/distinfo4
-rw-r--r--mail/perdition/patches/patch-makegdbm_options_h16
-rw-r--r--mail/perdition/patches/patch-perdition_db_gdbm_perditiondb_gdbm_h16
3 files changed, 35 insertions, 1 deletions
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 <horms@verge.net.au>\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 <ctype.h>
+ #include <gdbm.h>
+
+-extern gdbm_error gdbm_errno;
+-extern char *gdbm_version;
+-
+ #ifndef PERDITIONDB_GDBM_SYSCONFDIR
+ #define PERDITIONDB_GDBM_SYSCONFDIR "/usr/local/etc/perdition"
+ #endif