summaryrefslogtreecommitdiff
path: root/misc/splitvt/patches/patch-ac
diff options
context:
space:
mode:
authorjoerg <joerg>2005-11-10 18:25:42 +0000
committerjoerg <joerg>2005-11-10 18:25:42 +0000
commit9da6cfe3f7317397031391f402d4478408d116f5 (patch)
tree182c598aab30e55b1cfa65a8a7e56e7ea5dce607 /misc/splitvt/patches/patch-ac
parentf69a6d8296fbd3a83ee9f4abf1f9301754dcfd18 (diff)
downloadpkgsrc-9da6cfe3f7317397031391f402d4478408d116f5.tar.gz
Depend on errno.h for errno.
Don't depend on stdio and stdout to be static values, move the initialisation to run time.
Diffstat (limited to 'misc/splitvt/patches/patch-ac')
-rw-r--r--misc/splitvt/patches/patch-ac13
1 files changed, 13 insertions, 0 deletions
diff --git a/misc/splitvt/patches/patch-ac b/misc/splitvt/patches/patch-ac
new file mode 100644
index 00000000000..02b50755b19
--- /dev/null
+++ b/misc/splitvt/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1 2005/11/10 18:25:42 joerg Exp $
+
+--- parserc.c.orig 2005-11-10 18:22:31.000000000 +0000
++++ parserc.c
+@@ -154,8 +154,6 @@ char *args[];
+ static int safe_chdir(directory)
+ char *directory;
+ {
+- extern int errno;
+-
+ char *subdir=NULL;
+ struct stat sb;
+ int nslashes=0, chdir_ret;