diff options
author | dmcmahill <dmcmahill> | 2002-03-31 14:36:29 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill> | 2002-03-31 14:36:29 +0000 |
commit | a810cd821effe06a95355ddaae27a4860cf8ac28 (patch) | |
tree | b0934593eaee89ee6f8a29ce4308f9885ef000a0 /comms/birda | |
parent | 2733cc8419e366e9f39b10ca152f90bee5165af8 (diff) | |
download | pkgsrc-a810cd821effe06a95355ddaae27a4860cf8ac28.tar.gz |
LP64 fixes
Diffstat (limited to 'comms/birda')
-rw-r--r-- | comms/birda/distinfo | 3 | ||||
-rw-r--r-- | comms/birda/patches/patch-aa | 30 |
2 files changed, 32 insertions, 1 deletions
diff --git a/comms/birda/distinfo b/comms/birda/distinfo index 6eb84988be7..1ce48dfc3ef 100644 --- a/comms/birda/distinfo +++ b/comms/birda/distinfo @@ -1,4 +1,5 @@ -$NetBSD: distinfo,v 1.9 2002/01/13 01:02:12 augustss Exp $ +$NetBSD: distinfo,v 1.10 2002/03/31 14:36:29 dmcmahill Exp $ SHA1 (birda-0.9.tar.gz) = 7a45faad895ffea771d02b4e43b0f6af18a77653 Size (birda-0.9.tar.gz) = 56070 bytes +SHA1 (patch-aa) = 365bb0bc5a4ad6c72fc640345d4c1c7260fcb576 diff --git a/comms/birda/patches/patch-aa b/comms/birda/patches/patch-aa new file mode 100644 index 00000000000..17497265a63 --- /dev/null +++ b/comms/birda/patches/patch-aa @@ -0,0 +1,30 @@ +$NetBSD: patch-aa,v 1.1 2002/03/31 14:36:29 dmcmahill Exp $ + +--- work.bondage/birda-0.9/src/unix.c.orig Mon Dec 17 11:09:33 2001 ++++ work.bondage/birda-0.9/src/unix.c +@@ -30,6 +30,7 @@ + + #include <stdio.h> + #include <stdlib.h> ++#include <string.h> + #include <errno.h> + #include <stdarg.h> + #include <syslog.h> +@@ -462,7 +463,7 @@ + + log("Memory:\n"); + for(n=0,b=0,m=allocs;m;m=m->next) { +- log(" addr=%8x size=%5d id=%s\n",(unsigned)m->ptr,m->size,m->id); ++ log(" addr=%p size=%5d id=%s\n",m->ptr,m->size,m->id); + n++; + b+=m->size; + } +@@ -586,7 +587,7 @@ + Timer* ti=timers; + timers=ti->next; + if(evtDebug&EVT_DEBUG_TIMERS) +- log("timer called %x %x\n",(unsigned)ti->func,(unsigned)ti->handle); ++ log("timer called %p %p\n",ti->func,ti->handle); + ti->func(ti->handle); + if(evtDebug&EVT_DEBUG_TIMERS) log("timer completed\n"); + free(ti); |