diff options
author | tv <tv@pkgsrc.org> | 2004-12-01 12:50:39 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 2004-12-01 12:50:39 +0000 |
commit | 844179cb73b502b602198f7d5da050cde584d0b3 (patch) | |
tree | a15549c50a51fb149d05a2ae9ff913cb7a3482fd /security/hashcash | |
parent | 8b246da3546d5dc9d171aea173fead299dc878ca (diff) | |
download | pkgsrc-844179cb73b502b602198f7d5da050cde584d0b3.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/distinfo | 3 | ||||
-rw-r--r-- | security/hashcash/patches/patch-ab | 13 |
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 ); |