summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorseb <seb>2004-02-16 23:41:26 +0000
committerseb <seb>2004-02-16 23:41:26 +0000
commitb2b70130900f2e3e88c2d99ad1df67a956b71dfa (patch)
tree20e5171e1cddeeba377856e275c0c1c95b284429
parent0cf17e94fca688ae30bce2a3a8b6f4e3acfbacb2 (diff)
downloadpkgsrc-b2b70130900f2e3e88c2d99ad1df67a956b71dfa.tar.gz
Fix build with gcc3.
-rw-r--r--editors/mule/distinfo3
-rw-r--r--editors/mule/patches/patch-bf23
2 files changed, 25 insertions, 1 deletions
diff --git a/editors/mule/distinfo b/editors/mule/distinfo
index bc317e5546e..94f2a213fe3 100644
--- a/editors/mule/distinfo
+++ b/editors/mule/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2002/11/29 00:24:48 kei Exp $
+$NetBSD: distinfo,v 1.4 2004/02/16 23:41:26 seb Exp $
SHA1 (mule-2.3.tar.gz) = 52737767955caf2fde34b994f367a89c5d8a045f
Size (mule-2.3.tar.gz) = 10240256 bytes
@@ -28,3 +28,4 @@ SHA1 (patch-bb) = 70dbf921cd7d9f876189571779bcb3f894325a05
SHA1 (patch-bc) = 1f131a612cd31c42910f71d96728416236081d85
SHA1 (patch-bd) = 8fcaac760834208f06a44bd5c0776463864818ad
SHA1 (patch-be) = c406e32f5fdfa3ec7c78ea39594332252682f156
+SHA1 (patch-bf) = e8ae7e85bfdbef077fc5b685ca69583d1f8d4ddf
diff --git a/editors/mule/patches/patch-bf b/editors/mule/patches/patch-bf
new file mode 100644
index 00000000000..1d27527aff6
--- /dev/null
+++ b/editors/mule/patches/patch-bf
@@ -0,0 +1,23 @@
+$NetBSD: patch-bf,v 1.1 2004/02/16 23:41:26 seb Exp $
+
+--- src/emacs.c.orig 1995-06-08 05:58:13.000000000 +0000
++++ src/emacs.c
+@@ -410,6 +410,8 @@ __main ()
+ NXZone *emacszone;
+ #endif
+
++#include <sys/param.h>
++
+ /* ARGSUSED */
+ main (argc, argv, envp)
+ int argc;
+@@ -419,7 +421,9 @@ main (argc, argv, envp)
+ char stack_bottom_variable;
+ int skip_args = 0;
+ extern int errno;
++#if !(defined(BSD) && BSD >= 199306)
+ extern sys_nerr;
++#endif
+
+ /* Map in shared memory, if we are using that. */
+ #ifdef HAVE_SHM