diff options
Diffstat (limited to 'mail/xbuffy/patches/patch-af')
-rw-r--r-- | mail/xbuffy/patches/patch-af | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/mail/xbuffy/patches/patch-af b/mail/xbuffy/patches/patch-af new file mode 100644 index 00000000000..9fcbfa1555b --- /dev/null +++ b/mail/xbuffy/patches/patch-af @@ -0,0 +1,30 @@ +$NetBSD: patch-af,v 1.1.1.1 2000/12/05 02:04:49 wiz Exp $ + +--- libdyn/dyn_put.c.orig Tue Aug 10 04:36:12 1999 ++++ libdyn/dyn_put.c +@@ -11,6 +11,7 @@ + */ + + #include <stdio.h> ++#include <string.h> + + #include "dynP.h" + +@@ -34,7 +35,7 @@ + } + + if (obj->debug) +- fprintf(stderr, "dyn: get: Returning address %d + %d.\n", ++ fprintf(stderr, "dyn: get: Returning address %p + %d.\n", + obj->array, obj->el_size*num); + + return (DynPtr) obj->array + obj->el_size*num; +@@ -67,7 +68,7 @@ + int ret; + + if (obj->debug) +- fprintf(stderr, "dyn: put: Writing %d bytes from %d to %d + %d\n", ++ fprintf(stderr, "dyn: put: Writing %d bytes from %p to %p + %d\n", + obj->el_size, el, obj->array, index*obj->el_size); + + if ((ret = _DynResize(obj, index)) != DYN_OK) |