summaryrefslogtreecommitdiff
path: root/parallel/clusterit/patches
diff options
context:
space:
mode:
authorjoerg <joerg>2006-01-02 22:51:45 +0000
committerjoerg <joerg>2006-01-02 22:51:45 +0000
commit169ffc9f0415919265adb9271e5a00665ed82f06 (patch)
tree7340cdfd3372975322b6a10858ffc4f580f99f3f /parallel/clusterit/patches
parente29d0d3c93142757aa85c323f3f243fcfbda235c (diff)
downloadpkgsrc-169ffc9f0415919265adb9271e5a00665ed82f06.tar.gz
Fix errno.
Diffstat (limited to 'parallel/clusterit/patches')
-rw-r--r--parallel/clusterit/patches/patch-aa21
-rw-r--r--parallel/clusterit/patches/patch-ab12
-rw-r--r--parallel/clusterit/patches/patch-ac11
-rw-r--r--parallel/clusterit/patches/patch-ad11
-rw-r--r--parallel/clusterit/patches/patch-ae12
5 files changed, 67 insertions, 0 deletions
diff --git a/parallel/clusterit/patches/patch-aa b/parallel/clusterit/patches/patch-aa
new file mode 100644
index 00000000000..c93f136c0a1
--- /dev/null
+++ b/parallel/clusterit/patches/patch-aa
@@ -0,0 +1,21 @@
+$NetBSD: patch-aa,v 1.5 2006/01/02 22:51:45 joerg Exp $
+
+--- common/common.c.orig 2006-01-02 22:42:24.000000000 +0000
++++ common/common.c
+@@ -121,7 +121,6 @@ parse_cluster(char **exclude)
+ char *clusterfile, *p, *nodename;
+ int i, j, g, fail, gfail, lumping, n, ging;
+ char buf[MAXBUF];
+- extern int errno;
+ group_t *grouptemp;
+ node_t *nodeptr;
+ char **lumptemp;
+@@ -383,8 +382,6 @@ int test_node_connection(int rshport, in
+ void
+ _bailout(int line, char *file)
+ {
+- extern int errno;
+-
+ (void)fprintf(stderr, "%s: Failed in %s line %d: %s %d\n",
+ progname, file, line, strerror(errno), errno);
+
diff --git a/parallel/clusterit/patches/patch-ab b/parallel/clusterit/patches/patch-ab
new file mode 100644
index 00000000000..5c28e2ce953
--- /dev/null
+++ b/parallel/clusterit/patches/patch-ab
@@ -0,0 +1,12 @@
+$NetBSD: patch-ab,v 1.1 2006/01/02 22:51:45 joerg Exp $
+
+--- dsh/rseq.c.orig 2006-01-02 22:43:51.000000000 +0000
++++ dsh/rseq.c
+@@ -45,7 +45,4 @@ __RCSID("$Id: rseq.c,v 1.15 2005/06/02 1
+ #endif
+
+-/* externs */
+-extern int errno;
+-
+ void do_command(char **argv, int allrun, char *username);
+ node_t * check_seq(void);
diff --git a/parallel/clusterit/patches/patch-ac b/parallel/clusterit/patches/patch-ac
new file mode 100644
index 00000000000..cc3b91a70f7
--- /dev/null
+++ b/parallel/clusterit/patches/patch-ac
@@ -0,0 +1,11 @@
+$NetBSD: patch-ac,v 1.1 2006/01/02 22:51:45 joerg Exp $
+
+--- dsh/run.c.orig 2006-01-02 22:44:29.000000000 +0000
++++ dsh/run.c
+@@ -45,6 +45,4 @@ __RCSID("$Id: run.c,v 1.13 2005/06/02 17
+ #endif
+
+-extern int errno;
+-
+ void do_command(char **argv, int allrun, char *username);
+ node_t *check_rand(void);
diff --git a/parallel/clusterit/patches/patch-ad b/parallel/clusterit/patches/patch-ad
new file mode 100644
index 00000000000..c2a46fc9599
--- /dev/null
+++ b/parallel/clusterit/patches/patch-ad
@@ -0,0 +1,11 @@
+$NetBSD: patch-ad,v 1.1 2006/01/02 22:51:45 joerg Exp $
+
+--- pcp/pcp.c.orig 2006-01-02 22:45:27.000000000 +0000
++++ pcp/pcp.c
+@@ -47,6 +47,4 @@ __RCSID("$Id: pcp.c,v 1.14 2005/06/02 17
+ #endif
+
+-extern int errno;
+-
+ void do_copy(char **argv, int recurse, int preserve, char *username);
+ void paralell_copy(char *rcp, char *args, char *username, char *source_file,
diff --git a/parallel/clusterit/patches/patch-ae b/parallel/clusterit/patches/patch-ae
new file mode 100644
index 00000000000..2186f54f4ed
--- /dev/null
+++ b/parallel/clusterit/patches/patch-ae
@@ -0,0 +1,12 @@
+$NetBSD: patch-ae,v 1.1 2006/01/02 22:51:45 joerg Exp $
+
+--- rvt/command.c.orig 2006-01-02 22:47:41.000000000 +0000
++++ rvt/command.c
+@@ -453,7 +453,6 @@ int flags;
+ unsigned char *s;
+ int count, sv;
+ unsigned char mask = is_eightbit() ? 0xff : 0x7f;
+- extern int errno;
+
+ if (com_stack_top > com_stack)
+ return(*--com_stack_top);