summaryrefslogtreecommitdiff
path: root/net/aget/patches
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-01-10 19:31:52 +0000
committerjoerg <joerg@pkgsrc.org>2006-01-10 19:31:52 +0000
commit48e8a7560983b2ddef32e80d7d12af4a17982e0c (patch)
treecbb60c5aba97439f77f5169f35579f72db7899cc /net/aget/patches
parent40a33323249bfffcee356af37dd01a91ca0ab822 (diff)
downloadpkgsrc-48e8a7560983b2ddef32e80d7d12af4a17982e0c.tar.gz
Fix errno. Since this is a multithreaded program, bump revision.
Diffstat (limited to 'net/aget/patches')
-rw-r--r--net/aget/patches/patch-aa20
-rw-r--r--net/aget/patches/patch-ab22
-rw-r--r--net/aget/patches/patch-ac21
-rw-r--r--net/aget/patches/patch-ad18
4 files changed, 81 insertions, 0 deletions
diff --git a/net/aget/patches/patch-aa b/net/aget/patches/patch-aa
new file mode 100644
index 00000000000..84db0fc4fe5
--- /dev/null
+++ b/net/aget/patches/patch-aa
@@ -0,0 +1,20 @@
+$NetBSD: patch-aa,v 1.1 2006/01/10 19:31:52 joerg Exp $
+
+--- Aget.c.orig 2006-01-10 19:11:17.000000000 +0000
++++ Aget.c
+@@ -1,4 +1,4 @@
+-
++#include <errno.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+@@ -31,9 +31,6 @@ extern int fsuggested, nthreads;
+ extern int bwritten;
+ extern pthread_t hthread;
+
+-extern int errno;
+-
+-
+ void get(struct request *req)
+ {
+ int i, ret, fd, diff_sec, nok = 0;
diff --git a/net/aget/patches/patch-ab b/net/aget/patches/patch-ab
new file mode 100644
index 00000000000..5adc820f6f8
--- /dev/null
+++ b/net/aget/patches/patch-ab
@@ -0,0 +1,22 @@
+$NetBSD: patch-ab,v 1.1 2006/01/10 19:31:52 joerg Exp $
+
+--- Download.c.orig 2006-01-10 19:11:30.000000000 +0000
++++ Download.c
+@@ -1,7 +1,7 @@
+
+ #define _XOPEN_SOURCE 500
+
+-
++#include <errno.h>
+ #include <stdio.h>
+ #include <unistd.h>
+ #include <stdlib.h>
+@@ -29,8 +29,6 @@
+ extern sigset_t signal_set;
+
+
+-extern int errno;
+-
+ unsigned int bwritten = 0;
+ pthread_mutex_t bwritten_mutex = PTHREAD_MUTEX_INITIALIZER;
+
diff --git a/net/aget/patches/patch-ac b/net/aget/patches/patch-ac
new file mode 100644
index 00000000000..ff096752136
--- /dev/null
+++ b/net/aget/patches/patch-ac
@@ -0,0 +1,21 @@
+$NetBSD: patch-ac,v 1.1 2006/01/10 19:31:52 joerg Exp $
+
+--- Head.c.orig 2006-01-10 19:11:38.000000000 +0000
++++ Head.c
+@@ -1,7 +1,7 @@
+
+ #define _XOPEN_SOURCE 500
+
+-
++#include <errno.h>
+ #include <stdio.h>
+ #include <unistd.h>
+ #include <stdlib.h>
+@@ -30,7 +30,6 @@
+ #include "Misc.h"
+
+
+-extern int errno;
+ extern int h_errno;
+
+
diff --git a/net/aget/patches/patch-ad b/net/aget/patches/patch-ad
new file mode 100644
index 00000000000..e00fd856f30
--- /dev/null
+++ b/net/aget/patches/patch-ad
@@ -0,0 +1,18 @@
+$NetBSD: patch-ad,v 1.1 2006/01/10 19:31:52 joerg Exp $
+
+--- main.c.orig 2006-01-10 19:11:41.000000000 +0000
++++ main.c
+@@ -1,3 +1,4 @@
++#include <errno.h>
+ #include <unistd.h>
+ #include <stdlib.h>
+ #include <stdio.h>
+@@ -14,8 +15,6 @@
+ #include "Resume.h"
+ #include "main.h"
+
+-extern int errno;
+-
+ int main(int argc, char **argv)
+ {
+ extern char *optarg;