summaryrefslogtreecommitdiff
path: root/editors/emacs
diff options
context:
space:
mode:
authormycroft <mycroft@pkgsrc.org>2002-07-19 03:08:09 +0000
committermycroft <mycroft@pkgsrc.org>2002-07-19 03:08:09 +0000
commit0c063ed01fdd2c6f7611935c4b47f79a2e442c65 (patch)
tree81f352f7d5305a1eeca00dcf2d1dd98e3ae409ac /editors/emacs
parent7592e868cc4db97bd7a5ee0b895dd9af0d58b68a (diff)
downloadpkgsrc-0c063ed01fdd2c6f7611935c4b47f79a2e442c65.tar.gz
Pull in string.h and stdlib.h as appropriate to eliminate LP64 warnings/errors.
Diffstat (limited to 'editors/emacs')
-rw-r--r--editors/emacs/patches/patch-bn17
-rw-r--r--editors/emacs/patches/patch-bo22
-rw-r--r--editors/emacs/patches/patch-bp15
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)