pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/editors/mule Fix build with gcc3.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5d007cfd1008
branches:  trunk
changeset: 468809:5d007cfd1008
user:      seb <seb%pkgsrc.org@localhost>
date:      Mon Feb 16 23:41:26 2004 +0000

description:
Fix build with gcc3.

diffstat:

 editors/mule/distinfo         |   3 ++-
 editors/mule/patches/patch-bf |  23 +++++++++++++++++++++++
 2 files changed, 25 insertions(+), 1 deletions(-)

diffs (41 lines):

diff -r 44811dda8505 -r 5d007cfd1008 editors/mule/distinfo
--- a/editors/mule/distinfo     Mon Feb 16 23:39:36 2004 +0000
+++ b/editors/mule/distinfo     Mon Feb 16 23:41:26 2004 +0000
@@ -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-bc) = 1f131a612cd31c42910f71d96728416236081d85
 SHA1 (patch-bd) = 8fcaac760834208f06a44bd5c0776463864818ad
 SHA1 (patch-be) = c406e32f5fdfa3ec7c78ea39594332252682f156
+SHA1 (patch-bf) = e8ae7e85bfdbef077fc5b685ca69583d1f8d4ddf
diff -r 44811dda8505 -r 5d007cfd1008 editors/mule/patches/patch-bf
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/mule/patches/patch-bf     Mon Feb 16 23:41:26 2004 +0000
@@ -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



Home | Main Index | Thread Index | Old Index