pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/aget Fix errno. Since this is a multithreaded prog...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e364375dd7da
branches:  trunk
changeset: 506018:e364375dd7da
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Jan 10 19:31:52 2006 +0000

description:
Fix errno. Since this is a multithreaded program, bump revision.

diffstat:

 net/aget/Makefile         |   3 ++-
 net/aget/distinfo         |   6 +++++-
 net/aget/patches/patch-aa |  20 ++++++++++++++++++++
 net/aget/patches/patch-ab |  22 ++++++++++++++++++++++
 net/aget/patches/patch-ac |  21 +++++++++++++++++++++
 net/aget/patches/patch-ad |  18 ++++++++++++++++++
 6 files changed, 88 insertions(+), 2 deletions(-)

diffs (124 lines):

diff -r 7658684e6300 -r e364375dd7da net/aget/Makefile
--- a/net/aget/Makefile Tue Jan 10 19:00:53 2006 +0000
+++ b/net/aget/Makefile Tue Jan 10 19:31:52 2006 +0000
@@ -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 -r 7658684e6300 -r e364375dd7da net/aget/distinfo
--- a/net/aget/distinfo Tue Jan 10 19:00:53 2006 +0000
+++ b/net/aget/distinfo Tue Jan 10 19:31:52 2006 +0000
@@ -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 -r 7658684e6300 -r e364375dd7da net/aget/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/aget/patches/patch-aa Tue Jan 10 19:31:52 2006 +0000
@@ -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 -r 7658684e6300 -r e364375dd7da net/aget/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/aget/patches/patch-ab Tue Jan 10 19:31:52 2006 +0000
@@ -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 -r 7658684e6300 -r e364375dd7da net/aget/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/aget/patches/patch-ac Tue Jan 10 19:31:52 2006 +0000
@@ -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 -r 7658684e6300 -r e364375dd7da net/aget/patches/patch-ad
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/aget/patches/patch-ad Tue Jan 10 19:31:52 2006 +0000
@@ -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;



Home | Main Index | Thread Index | Old Index