summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorjoerg <joerg>2005-12-09 16:19:46 +0000
committerjoerg <joerg>2005-12-09 16:19:46 +0000
commit2410113bc1a5575999c8cfec6cbae3af44c7ac58 (patch)
tree9c08b80d3d46c1022c6f54a81c53cd5adc6a4e63 /editors
parent95ce1d61835ca61cfdac1bbf7ef34e185e11a241 (diff)
downloadpkgsrc-2410113bc1a5575999c8cfec6cbae3af44c7ac58.tar.gz
Don't define errno after using it already for a dozen times.
Diffstat (limited to 'editors')
-rw-r--r--editors/pico/distinfo3
-rw-r--r--editors/pico/patches/patch-ai12
2 files changed, 14 insertions, 1 deletions
diff --git a/editors/pico/distinfo b/editors/pico/distinfo
index 16d9115ebc9..10509922a70 100644
--- a/editors/pico/distinfo
+++ b/editors/pico/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.21 2005/08/12 20:21:29 tv Exp $
+$NetBSD: distinfo,v 1.22 2005/12/09 16:19:46 joerg Exp $
SHA1 (pine4.63.tar.bz2) = ad235c1fad7cc8adfff5c69cea8eb267afa648c9
RMD160 (pine4.63.tar.bz2) = b04a6f5134aeae6b0a5663acbfa4e812c3fc7762
@@ -11,3 +11,4 @@ SHA1 (patch-ae) = dc29440e0e6625dc9674d8498eedfe730a4c0520
SHA1 (patch-af) = 50559e76706fd1107b96979b2aedcb760abf9f88
SHA1 (patch-ag) = 88a8a8ca456355165726425de7cf18a13435a3a2
SHA1 (patch-ah) = 2c18b4fb1b57a0bdd1e164c7eefe0bd684f26764
+SHA1 (patch-ai) = 7e2a70ee4322aa85de80089c2e4470ec12bfe110
diff --git a/editors/pico/patches/patch-ai b/editors/pico/patches/patch-ai
new file mode 100644
index 00000000000..680f9782299
--- /dev/null
+++ b/editors/pico/patches/patch-ai
@@ -0,0 +1,12 @@
+$NetBSD: patch-ai,v 1.1 2005/12/09 16:19:46 joerg Exp $
+
+--- pico/osdep/unix.orig 2005-12-09 16:13:11.000000000 +0000
++++ pico/osdep/unix
+@@ -3376,7 +3376,6 @@ char *a, *b;
+ int in, out, n, rv = 0;
+ char *cb;
+ struct stat tsb, fsb;
+- extern int errno;
+
+ if(stat(a, &fsb) < 0){ /* get source file info */
+ emlwrite("Can't Copy: %s", errstr(errno));