summaryrefslogtreecommitdiff
path: root/editors/emacs20/patches
diff options
context:
space:
mode:
authorkristerw <kristerw@pkgsrc.org>2004-03-25 22:13:34 +0000
committerkristerw <kristerw@pkgsrc.org>2004-03-25 22:13:34 +0000
commit0e1233b17d56818179924524d05ef08a39cd143d (patch)
treed3226acec65ab6bfda8c7d07a718ed4527740098 /editors/emacs20/patches
parent45eb3d4ef47e63597aba5974f8faacb5d1972933 (diff)
downloadpkgsrc-0e1233b17d56818179924524d05ef08a39cd143d.tar.gz
Fix LP64 issues.
Add -fno-zero-initialized-in-bss when compiling with gcc3 (this is not needed for all configurations, but it does never hurt). Bump PKGREVISION.
Diffstat (limited to 'editors/emacs20/patches')
-rw-r--r--editors/emacs20/patches/patch-bs12
-rw-r--r--editors/emacs20/patches/patch-bt14
-rw-r--r--editors/emacs20/patches/patch-bu12
-rw-r--r--editors/emacs20/patches/patch-bv13
-rw-r--r--editors/emacs20/patches/patch-bw12
-rw-r--r--editors/emacs20/patches/patch-bx13
-rw-r--r--editors/emacs20/patches/patch-by12
-rw-r--r--editors/emacs20/patches/patch-bz12
8 files changed, 100 insertions, 0 deletions
diff --git a/editors/emacs20/patches/patch-bs b/editors/emacs20/patches/patch-bs
new file mode 100644
index 00000000000..f0d3ac44e8d
--- /dev/null
+++ b/editors/emacs20/patches/patch-bs
@@ -0,0 +1,12 @@
+$NetBSD: patch-bs,v 1.1 2004/03/25 22:13:34 kristerw Exp $
+
+--- src/xmenu.c.orig 2004-03-25 22:06:49.000000000 +0100
++++ src/xmenu.c 2004-03-25 22:07:45.000000000 +0100
+@@ -35,6 +35,7 @@
+ #include <config.h>
+
+ #include <stdio.h>
++#include <stdlib.h>
+ #include "lisp.h"
+ #include "termhooks.h"
+ #include "frame.h"
diff --git a/editors/emacs20/patches/patch-bt b/editors/emacs20/patches/patch-bt
new file mode 100644
index 00000000000..edefcdc39b9
--- /dev/null
+++ b/editors/emacs20/patches/patch-bt
@@ -0,0 +1,14 @@
+$NetBSD: patch-bt,v 1.1 2004/03/25 22:13:34 kristerw Exp $
+
+--- src/buffer.h.orig 1998-10-08 08:44:42.000000000 +0200
++++ src/buffer.h 2004-03-25 22:51:09.000000000 +0100
+@@ -762,6 +762,9 @@
+ /* Allocation of buffer text. */
+
+ #ifdef REL_ALLOC
++void* r_alloc(void*, unsigned long);
++void r_alloc_free(void*);
++void* r_re_alloc(void*, unsigned long);
+ #define BUFFER_ALLOC(data,size) ((unsigned char *) r_alloc (&data, (size)))
+ #define BUFFER_REALLOC(data,size) ((unsigned char *) r_re_alloc (&data, (size)))
+ #define BUFFER_FREE(data) (r_alloc_free (&data))
diff --git a/editors/emacs20/patches/patch-bu b/editors/emacs20/patches/patch-bu
new file mode 100644
index 00000000000..839431ec7fa
--- /dev/null
+++ b/editors/emacs20/patches/patch-bu
@@ -0,0 +1,12 @@
+$NetBSD: patch-bu,v 1.1 2004/03/25 22:13:34 kristerw Exp $
+
+--- src/xterm.c.orig 2004-03-25 22:14:27.000000000 +0100
++++ src/xterm.c 2004-03-25 22:14:43.000000000 +0100
+@@ -28,6 +28,7 @@
+ #include <config.h>
+
+ #include <stdio.h>
++#include <stdlib.h>
+
+ #ifdef HAVE_X_WINDOWS
+
diff --git a/editors/emacs20/patches/patch-bv b/editors/emacs20/patches/patch-bv
new file mode 100644
index 00000000000..99c903a5d1e
--- /dev/null
+++ b/editors/emacs20/patches/patch-bv
@@ -0,0 +1,13 @@
+$NetBSD: patch-bv,v 1.1 2004/03/25 22:13:34 kristerw Exp $
+
+--- src/ralloc.c.orig 2004-03-25 22:18:49.000000000 +0100
++++ src/ralloc.c 2004-03-25 22:20:22.000000000 +0100
+@@ -80,6 +80,8 @@
+
+ #endif /* not emacs */
+
++#include <stdlib.h>
++
+ #include "getpagesize.h"
+
+ #define NIL ((POINTER) 0)
diff --git a/editors/emacs20/patches/patch-bw b/editors/emacs20/patches/patch-bw
new file mode 100644
index 00000000000..e7b901959b5
--- /dev/null
+++ b/editors/emacs20/patches/patch-bw
@@ -0,0 +1,12 @@
+$NetBSD: patch-bw,v 1.1 2004/03/25 22:13:34 kristerw Exp $
+
+--- lwlib/lwlib-utils.c.orig 2004-03-25 22:58:34.000000000 +0100
++++ lwlib/lwlib-utils.c 2004-03-25 22:59:20.000000000 +0100
+@@ -29,6 +29,7 @@
+ #undef index
+ #undef rindex
+
++#include <stdlib.h>
+ #include <X11/Xatom.h>
+ #include <X11/IntrinsicP.h>
+ #include <X11/ObjectP.h>
diff --git a/editors/emacs20/patches/patch-bx b/editors/emacs20/patches/patch-bx
new file mode 100644
index 00000000000..bf091afed8c
--- /dev/null
+++ b/editors/emacs20/patches/patch-bx
@@ -0,0 +1,13 @@
+$NetBSD: patch-bx,v 1.1 2004/03/25 22:13:34 kristerw Exp $
+
+--- src/tparam.c.orig 2004-03-25 22:23:54.000000000 +0100
++++ src/tparam.c 2004-03-25 22:26:40.000000000 +0100
+@@ -36,6 +36,8 @@
+
+ #endif /* not emacs */
+
++#include "lisp.h"
++
+ #ifndef NULL
+ #define NULL (char *) 0
+ #endif
diff --git a/editors/emacs20/patches/patch-by b/editors/emacs20/patches/patch-by
new file mode 100644
index 00000000000..538fbeb3cd7
--- /dev/null
+++ b/editors/emacs20/patches/patch-by
@@ -0,0 +1,12 @@
+$NetBSD: patch-by,v 1.1 2004/03/25 22:13:34 kristerw Exp $
+
+--- lib-src/make-docfile.c.orig 2004-03-25 22:56:07.000000000 +0100
++++ lib-src/make-docfile.c 2004-03-25 22:56:42.000000000 +0100
+@@ -36,6 +36,7 @@
+ #include <../src/config.h>
+
+ #include <stdio.h>
++#include <stdlib.h>
+ #ifdef MSDOS
+ #include <fcntl.h>
+ #endif /* MSDOS */
diff --git a/editors/emacs20/patches/patch-bz b/editors/emacs20/patches/patch-bz
new file mode 100644
index 00000000000..e605cfcc9ee
--- /dev/null
+++ b/editors/emacs20/patches/patch-bz
@@ -0,0 +1,12 @@
+$NetBSD: patch-bz,v 1.1 2004/03/25 22:13:34 kristerw Exp $
+
+--- lib-src/emacsserver.c.orig 2004-03-25 22:57:10.000000000 +0100
++++ lib-src/emacsserver.c 2004-03-25 22:57:32.000000000 +0100
+@@ -26,6 +26,7 @@
+ up to the Emacs which then executes them. */
+
+ #define NO_SHORTNAMES
++#include <stdlib.h>
+ #include <signal.h>
+ #include <../src/config.h>
+ #undef read