summaryrefslogtreecommitdiff
path: root/mail/xbuffy/patches/patch-ae
diff options
context:
space:
mode:
Diffstat (limited to 'mail/xbuffy/patches/patch-ae')
-rw-r--r--mail/xbuffy/patches/patch-ae30
1 files changed, 30 insertions, 0 deletions
diff --git a/mail/xbuffy/patches/patch-ae b/mail/xbuffy/patches/patch-ae
new file mode 100644
index 00000000000..e00e5e04728
--- /dev/null
+++ b/mail/xbuffy/patches/patch-ae
@@ -0,0 +1,30 @@
+$NetBSD: patch-ae,v 1.1.1.1 2000/12/05 02:04:49 wiz Exp $
+
+--- libdyn/dyn_insert.c.orig Tue Aug 10 04:35:43 1999
++++ libdyn/dyn_insert.c
+@@ -11,6 +11,7 @@
+ */
+
+ #include <stdio.h>
++#include <string.h>
+ #include "dynP.h"
+
+ int DynInsert(obj, index, els, num)
+@@ -35,7 +36,7 @@
+ }
+
+ if (obj->debug)
+- fprintf(stderr,"dyn: insert: Moving %d bytes from %d + %d to + %d\n",
++ fprintf(stderr,"dyn: insert: Moving %d bytes from %p + %d to + %d\n",
+ (obj->num_el-index)*obj->el_size, obj->array,
+ obj->el_size*index, obj->el_size*(index+num));
+
+@@ -49,7 +50,7 @@
+
+
+ if (obj->debug)
+- fprintf(stderr, "dyn: insert: Copying %d bytes from %d to %d + %d\n",
++ fprintf(stderr, "dyn: insert: Copying %d bytes from %p to %p + %d\n",
+ obj->el_size*num, els, obj->array, obj->el_size*index);
+
+ /* bcopy(els, obj->array + obj->el_size*index, obj->el_size*num); */