pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/hashcash Fix compilation error on LP64 due to...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8b269c0bd966
branches:  trunk
changeset: 484932:8b269c0bd966
user:      tv <tv%pkgsrc.org@localhost>
date:      Wed Dec 01 12:50:39 2004 +0000

description:
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:

 security/hashcash/distinfo         |   3 ++-
 security/hashcash/patches/patch-ab |  13 +++++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)

diffs (28 lines):

diff -r 33a64b870e3f -r 8b269c0bd966 security/hashcash/distinfo
--- a/security/hashcash/distinfo        Wed Dec 01 12:36:21 2004 +0000
+++ b/security/hashcash/distinfo        Wed Dec 01 12:50:39 2004 +0000
@@ -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 -r 33a64b870e3f -r 8b269c0bd966 security/hashcash/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/hashcash/patches/patch-ab        Wed Dec 01 12:50:39 2004 +0000
@@ -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 );



Home | Main Index | Thread Index | Old Index