diff options
author | joerg <joerg> | 2006-03-02 21:28:23 +0000 |
---|---|---|
committer | joerg <joerg> | 2006-03-02 21:28:23 +0000 |
commit | a28bd58cdbcebfe6a2a33f63ea2c4706901a596d (patch) | |
tree | 286b3745e1963e6557fe4e38ac45f2a4162b130b /mail/nmh/patches/patch-ax | |
parent | d0a709058a32ddc1488303def90188c01d727336 (diff) | |
download | pkgsrc-a28bd58cdbcebfe6a2a33f63ea2c4706901a596d.tar.gz |
Add DragonFly support. Fix errno.
Diffstat (limited to 'mail/nmh/patches/patch-ax')
-rw-r--r-- | mail/nmh/patches/patch-ax | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/mail/nmh/patches/patch-ax b/mail/nmh/patches/patch-ax new file mode 100644 index 00000000000..99e56cbf0f8 --- /dev/null +++ b/mail/nmh/patches/patch-ax @@ -0,0 +1,21 @@ +$NetBSD: patch-ax,v 1.1 2006/03/02 21:28:23 joerg Exp $ + +--- uip/mshcmds.c.orig 2006-03-02 21:02:23.000000000 +0000 ++++ uip/mshcmds.c +@@ -18,8 +18,6 @@ + #include <h/msh.h> + #include <h/picksbr.h> + +-extern int errno; +- + static char delim3[] = "-------"; /* from burst.c */ + + static int mhlnum; +@@ -3006,7 +3004,6 @@ process (int msgnum, char *proc, int vec + strncpy (tmpfil, m_scratch ("", invo_name), sizeof(tmpfil)); + if ((out = fopen (tmpfil, "w")) == NULL) { + int olderr; +- extern int errno; + char newfil[80]; + + olderr = errno; |