From 3dd88e84a7ea823766cb02486161039c10f1431a Mon Sep 17 00:00:00 2001 From: dmcmahill Date: Sun, 31 Mar 2002 14:36:29 +0000 Subject: LP64 fixes --- comms/birda/distinfo | 3 ++- comms/birda/patches/patch-aa | 30 ++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 comms/birda/patches/patch-aa (limited to 'comms/birda') 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 + #include ++#include + #include + #include + #include +@@ -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); -- cgit v1.2.3