diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2014-05-10 00:26:07 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2014-05-10 00:26:07 +0000 |
commit | 9518b1777be39f8f996025737b2eaa49cdc3fb74 (patch) | |
tree | 57816f0efe3dd1c6075a076b3930a80934a2e69a /mail/xbuffy/files/patch-libdyn__dyn_put.c | |
parent | - Support staging (diff) |
- Support staging
- Use meaningful patch names
- Convert USE_GMAKE to USES
Diffstat (limited to 'mail/xbuffy/files/patch-libdyn__dyn_put.c')
-rw-r--r-- | mail/xbuffy/files/patch-libdyn__dyn_put.c | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/mail/xbuffy/files/patch-libdyn__dyn_put.c b/mail/xbuffy/files/patch-libdyn__dyn_put.c new file mode 100644 index 000000000000..26b0a16ae07e --- /dev/null +++ b/mail/xbuffy/files/patch-libdyn__dyn_put.c @@ -0,0 +1,29 @@ +diff -ur ../../xbuffy-3.3.bl.3/libdyn/dyn_put.c ./libdyn/dyn_put.c +--- ../../xbuffy-3.3.bl.3/libdyn/dyn_put.c Fri Feb 20 17:54:14 1998 ++++ ./libdyn/dyn_put.c Tue May 8 13:13:44 2001 +@@ -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) |