summaryrefslogtreecommitdiff
path: root/net
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
parent40a33323249bfffcee356af37dd01a91ca0ab822 (diff)
downloadpkgsrc-48e8a7560983b2ddef32e80d7d12af4a17982e0c.tar.gz
Fix errno. Since this is a multithreaded program, bump revision.
Diffstat (limited to 'net')
-rw-r--r--net/aget/Makefile3
-rw-r--r--net/aget/distinfo6
-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
6 files changed, 88 insertions, 2 deletions
diff --git a/net/aget/Makefile b/net/aget/Makefile
index ff10458d8f9..0ffe4fcdb63 100644
--- a/net/aget/Makefile
+++ b/net/aget/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.8 2005/06/18 18:55:36 kristerw Exp $
+# $NetBSD: Makefile,v 1.9 2006/01/10 19:31:52 joerg Exp $
#
DISTNAME= aget-0.4
+PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= http://www.enderunix.org/aget/
diff --git a/net/aget/distinfo b/net/aget/distinfo
index ad4c4bcc1ef..6b5e2a23a3e 100644
--- a/net/aget/distinfo
+++ b/net/aget/distinfo
@@ -1,5 +1,9 @@
-$NetBSD: distinfo,v 1.2 2005/02/24 12:13:42 agc Exp $
+$NetBSD: distinfo,v 1.3 2006/01/10 19:31:52 joerg Exp $
SHA1 (aget-0.4.tar.gz) = acd428c919c105401f4b1c19a082c71f470fe9af
RMD160 (aget-0.4.tar.gz) = f2a342ee513c9225e6f124ebc35b3d297cdfcb62
Size (aget-0.4.tar.gz) = 11152 bytes
+SHA1 (patch-aa) = 2c01b67e4b7251927b46442cd9951baa1ec772d3
+SHA1 (patch-ab) = 9fd3a4eaf9bfdad2326b7d6f49d9a0baff57ea3a
+SHA1 (patch-ac) = 378ce98d93fa0e68a054ad1b20ef1a8999b729b6
+SHA1 (patch-ad) = 118179ecef613b59d161e8bf8de2133aeed7aac5
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;