pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/mini_httpd Add patch: do not fail on ECONNABORTED.
details: https://anonhg.NetBSD.org/pkgsrc/rev/95d04eeea169
branches: trunk
changeset: 524095:95d04eeea169
user: reed <reed%pkgsrc.org@localhost>
date: Thu Jan 18 16:28:07 2007 +0000
description:
Add patch: do not fail on ECONNABORTED.
Reported to mini_httpd developers. Patch is found various
places on internet.
diffstat:
www/mini_httpd/Makefile | 4 ++--
www/mini_httpd/distinfo | 3 ++-
www/mini_httpd/patches/patch-ac | 15 +++++++++++++++
3 files changed, 19 insertions(+), 3 deletions(-)
diffs (45 lines):
diff -r 6ef6ab42e6e9 -r 95d04eeea169 www/mini_httpd/Makefile
--- a/www/mini_httpd/Makefile Thu Jan 18 15:53:58 2007 +0000
+++ b/www/mini_httpd/Makefile Thu Jan 18 16:28:07 2007 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.12 2006/10/01 10:37:14 schwarz Exp $
+# $NetBSD: Makefile,v 1.13 2007/01/18 16:28:07 reed Exp $
DISTNAME= mini_httpd-1.19
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= www
MASTER_SITES= http://www.acme.com/software/mini_httpd/
diff -r 6ef6ab42e6e9 -r 95d04eeea169 www/mini_httpd/distinfo
--- a/www/mini_httpd/distinfo Thu Jan 18 15:53:58 2007 +0000
+++ b/www/mini_httpd/distinfo Thu Jan 18 16:28:07 2007 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.4 2005/12/08 17:11:58 joerg Exp $
+$NetBSD: distinfo,v 1.5 2007/01/18 16:28:07 reed Exp $
SHA1 (mini_httpd-1.19/mini_httpd-1.19.tar.gz) = b156a5e0b9b6e2169ed772a5890fc63d8ed60514
RMD160 (mini_httpd-1.19/mini_httpd-1.19.tar.gz) = 4e8ec41bd9238d49481354bcf9404fb11519a667
Size (mini_httpd-1.19/mini_httpd-1.19.tar.gz) = 42063 bytes
SHA1 (patch-aa) = 3e30a58fa50283a5b9fe3d272ae312f825a4c8ec
SHA1 (patch-ab) = bf74dd6f6a921024e0dde08eeff39fdf64706414
+SHA1 (patch-ac) = ccbd255aa5b3580426276e8f2fe211deea3feae5
diff -r 6ef6ab42e6e9 -r 95d04eeea169 www/mini_httpd/patches/patch-ac
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/mini_httpd/patches/patch-ac Thu Jan 18 16:28:07 2007 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-ac,v 1.1 2007/01/18 16:28:08 reed Exp $
+
+--- mini_httpd.c.orig 2006-12-31 03:00:18.000000000 +0900
++++ mini_httpd.c 2007-01-05 11:40:35.000000000 +0900
+@@ -822,6 +822,10 @@
+ if ( errno == EPROTO )
+ continue; /* try again */
+ #endif /* EPROTO */
++#ifdef ECONNABORTED
++ if ( errno == ECONNABORTED )
++ continue; /* try again */
++#endif /* ECONNABORTED */
+ syslog( LOG_CRIT, "accept - %m" );
+ perror( "accept" );
+ exit( 1 );
Home |
Main Index |
Thread Index |
Old Index