pkgsrc/editors/mule/patches/patch-bz
tsutsui 6b748570d0 Make this build (i.e. dump with -batch etc. work) on NetBSD/amd64 7.1.
Bump PKGREVISION to denote changes.

`emacs -nw' gets a startup window, but emacs (with Xt) still dumps core.
XXX: maybe much more prototypes are neccesary for LONG_LISP_OBJECT and
XXX: VALBITS>=32 on LP64.
2017-05-07 06:49:23 +00:00

22 lines
533 B
Text

$NetBSD: patch-bz,v 1.2 2017/05/07 06:49:23 tsutsui Exp $
--- lib-src/emacsclient.c.orig 1994-07-27 17:57:35.000000000 +0000
+++ lib-src/emacsclient.c
@@ -53,7 +53,6 @@ main (argc, argv)
#include <errno.h>
extern char *strerror ();
-extern int errno;
main (argc, argv)
int argc;
@@ -66,9 +65,6 @@ main (argc, argv)
char *homedir, *cwd, *str;
char string[BUFSIZ];
- char *getenv (), *getwd ();
- int geteuid ();
-
if (argc < 2)
{
fprintf (stderr, "Usage: %s [+linenumber] filename\n", argv[0]);