pkgsrc/editors/mule/patches/patch-bw
joerg c05f839a89 Make this compile on DragonFly in the hope that also means that it is
as usable as Emacs can be.
Fix errno. Use ${LOWER_OPSYS} instead of hard-coded OS name and pass
the pass to canna lib to configure. The first fixes !NetBSD, the latter
triggers addition of rpath entries for libcanna.
2006-01-04 20:35:08 +00:00

28 lines
597 B
Text

$NetBSD: patch-bw,v 1.1 2006/01/04 20:35:08 joerg Exp $
--- lib-src/movemail.c.orig 2006-01-04 17:43:12.000000000 +0000
+++ lib-src/movemail.c
@@ -370,7 +370,6 @@ error (s1, s2, s3)
pfatal_with_name (name)
char *name;
{
- extern int errno;
extern char *strerror ();
char *s;
@@ -381,7 +380,6 @@ pfatal_with_name (name)
pfatal_and_delete (name)
char *name;
{
- extern int errno;
extern char *strerror ();
char *s;
@@ -747,7 +745,6 @@ multiline (buf, n, f)
char *
get_errmsg ()
{
- extern int errno;
extern char *strerror ();
return strerror (errno);
}