diff options
Diffstat (limited to 'archivers/cabextract/patches/patch-aa')
-rw-r--r-- | archivers/cabextract/patches/patch-aa | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/archivers/cabextract/patches/patch-aa b/archivers/cabextract/patches/patch-aa new file mode 100644 index 00000000000..ccaa44f2311 --- /dev/null +++ b/archivers/cabextract/patches/patch-aa @@ -0,0 +1,19 @@ +$NetBSD: patch-aa,v 1.5 2004/10/28 10:35:56 wiz Exp $ + +--- mempcpy.c.orig 2004-07-16 16:07:01.000000000 +0200 ++++ mempcpy.c +@@ -29,7 +29,13 @@ Copies @var{length} bytes from memory re + + */ + +-#include <ansidecl.h> ++#include <string.h> ++#ifndef PTR ++#define PTR void* ++#endif ++#ifndef PARAMS ++#define PARAMS(x) x ++#endif + #ifdef ANSI_PROTOTYPES + #include <stddef.h> + #else |