diff options
author | mycroft <mycroft> | 2002-07-19 03:08:09 +0000 |
---|---|---|
committer | mycroft <mycroft> | 2002-07-19 03:08:09 +0000 |
commit | 7359d60b0e0077dc2b95adca8d3477a8504581b5 (patch) | |
tree | 81f352f7d5305a1eeca00dcf2d1dd98e3ae409ac | |
parent | 3b060fa9e0144f43bd6c2270b11ead7c2ffc6a9b (diff) | |
download | pkgsrc-7359d60b0e0077dc2b95adca8d3477a8504581b5.tar.gz |
Pull in string.h and stdlib.h as appropriate to eliminate LP64 warnings/errors.
-rw-r--r-- | editors/emacs/patches/patch-bn | 17 | ||||
-rw-r--r-- | editors/emacs/patches/patch-bo | 22 | ||||
-rw-r--r-- | editors/emacs/patches/patch-bp | 15 |
3 files changed, 54 insertions, 0 deletions
diff --git a/editors/emacs/patches/patch-bn b/editors/emacs/patches/patch-bn new file mode 100644 index 00000000000..186eb2b4482 --- /dev/null +++ b/editors/emacs/patches/patch-bn @@ -0,0 +1,17 @@ +$NetBSD: patch-bn,v 1.1 2002/07/19 03:08:09 mycroft Exp $ + +--- lib-src/cvtmail.c.orig Tue Jul 16 22:08:02 1996 ++++ lib-src/cvtmail.c Fri Jul 19 02:34:38 2002 +@@ -35,10 +35,8 @@ + + + #include <stdio.h> +- +-char *malloc (); +-char *realloc (); +-char *getenv (); ++#include <string.h> ++#include <stdlib.h> + + char *xmalloc (); + char *xrealloc (); diff --git a/editors/emacs/patches/patch-bo b/editors/emacs/patches/patch-bo new file mode 100644 index 00000000000..0d014ff5827 --- /dev/null +++ b/editors/emacs/patches/patch-bo @@ -0,0 +1,22 @@ +$NetBSD: patch-bo,v 1.1 2002/07/19 03:08:09 mycroft Exp $ + +--- lib-src/yow.c.orig Fri Feb 26 11:30:08 1999 ++++ lib-src/yow.c Fri Jul 19 02:33:37 2002 +@@ -12,6 +12,8 @@ + + #include <stdio.h> + #include <ctype.h> ++#include <string.h> ++#include <stdlib.h> + #include <../src/epaths.h> /* For PATH_DATA. */ + + #define BUFSIZE 80 +@@ -32,8 +34,6 @@ + strcpy (p + 4, rel);\ + &res;}) + #endif +- +-char *malloc(), *realloc(); + + void yow(); + void setup_yow(); diff --git a/editors/emacs/patches/patch-bp b/editors/emacs/patches/patch-bp new file mode 100644 index 00000000000..65d62c68351 --- /dev/null +++ b/editors/emacs/patches/patch-bp @@ -0,0 +1,15 @@ +$NetBSD: patch-bp,v 1.1 2002/07/19 03:08:09 mycroft Exp $ + +--- lwlib/lwlib.c.orig Mon Apr 6 10:24:33 1998 ++++ lwlib/lwlib.c Fri Jul 19 02:38:04 2002 +@@ -29,10 +29,8 @@ + #include "lwlib-utils.h" + #include <X11/StringDefs.h> + +-#ifdef __osf__ + #include <string.h> + #include <stdlib.h> +-#endif + extern long *xmalloc(); + + #if defined (USE_LUCID) |