summaryrefslogtreecommitdiff
path: root/security/hashcash
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2004-12-01 12:50:39 +0000
committertv <tv@pkgsrc.org>2004-12-01 12:50:39 +0000
commit60e35d18fe8b395a8a2bb22ff0fc9aad32662c35 (patch)
treea15549c50a51fb149d05a2ae9ff913cb7a3482fd /security/hashcash
parentae9d7297e642b088991a700fa56b60b99ffcb0d0 (diff)
downloadpkgsrc-60e35d18fe8b395a8a2bb22ff0fc9aad32662c35.tar.gz
Fix compilation error on LP64 due to a prototype mismatch. (Arg changed
from time_t to long, but prototype wasn't updated to match.)
Diffstat (limited to 'security/hashcash')
-rw-r--r--security/hashcash/distinfo3
-rw-r--r--security/hashcash/patches/patch-ab13
2 files changed, 15 insertions, 1 deletions
diff --git a/security/hashcash/distinfo b/security/hashcash/distinfo
index aa539913d79..55dee8f06cb 100644
--- a/security/hashcash/distinfo
+++ b/security/hashcash/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.4 2004/11/29 01:56:16 tv Exp $
+$NetBSD: distinfo,v 1.5 2004/12/01 12:50:39 tv Exp $
SHA1 (hashcash-1.13.tgz) = 045b05e3e1a6422c0c853c6e5eaf21fea3d3c377
Size (hashcash-1.13.tgz) = 175741 bytes
SHA1 (patch-aa) = c8e619f2b8ce9a2b656986ff813107eae3aeb584
+SHA1 (patch-ab) = 7c8bafe32f93529f178ba65009dc5638beb47cb1
diff --git a/security/hashcash/patches/patch-ab b/security/hashcash/patches/patch-ab
new file mode 100644
index 00000000000..834b7927713
--- /dev/null
+++ b/security/hashcash/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2004/12/01 12:50:39 tv Exp $
+
+--- hashcash.c.orig 2004-12-01 07:49:23.000000000 -0500
++++ hashcash.c
+@@ -117,7 +117,7 @@ typedef struct {
+
+ void db_open( DB* db, const char* db_filename );
+ void db_purge( DB* db, ARRAY* purge_resource, int purge_all,
+- long purge_period, time_t now_time, time_t real_time,
++ long purge_period, time_t now_time, long validity_period,
+ long grace_period );
+ int db_in( DB* db, char* token, char *period );
+ void db_add( DB* db, char* token, char *token_utime );