diff options
Diffstat (limited to 'editors/sam/patches/patch-ak')
-rw-r--r-- | editors/sam/patches/patch-ak | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/editors/sam/patches/patch-ak b/editors/sam/patches/patch-ak new file mode 100644 index 00000000000..e710b6b6bf8 --- /dev/null +++ b/editors/sam/patches/patch-ak @@ -0,0 +1,21 @@ +$NetBSD: patch-ak,v 1.1 2005/10/10 16:18:04 joerg Exp $ + +--- libframe/misc.c.orig 2005-07-30 20:20:22.000000000 +0000 ++++ libframe/misc.c +@@ -2,6 +2,7 @@ + #include <u.h> + #include <libc.h> + #include <pwd.h> ++#include <errno.h> + #ifdef NEEDVARARG + #include <varargs.h> + #else +@@ -22,8 +23,6 @@ fprint(int fd, char *z, ...) + + int errstr(char *buf) + { +- extern int errno; +- + strncpy(buf, strerror(errno), ERRLEN); + return 1; + } |