summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2002-03-31 14:36:29 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2002-03-31 14:36:29 +0000
commit3dd88e84a7ea823766cb02486161039c10f1431a (patch)
treeb0934593eaee89ee6f8a29ce4308f9885ef000a0 /comms
parent0d271c39aa9ee9430ef3b752c3220a93a53e4c47 (diff)
downloadpkgsrc-3dd88e84a7ea823766cb02486161039c10f1431a.tar.gz
LP64 fixes
Diffstat (limited to 'comms')
-rw-r--r--comms/birda/distinfo3
-rw-r--r--comms/birda/patches/patch-aa30
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);