View | Details | Raw Unified | Return to bug 40849
Collapse All | Expand All

(-)Makefile (-4 / +6 lines)
Lines 6-18 Link Here
6
#
6
#
7
7
8
PORTNAME=	slirp
8
PORTNAME=	slirp
9
PORTVERSION=	1.0c
9
PORTVERSION=	1.0.13
10
PORTEPOCH=	1
10
CATEGORIES=	net
11
CATEGORIES=	net
11
MASTER_SITES=	ftp://blitzen.canberra.edu.au/pub/slirp/
12
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
13
MASTER_SITE_SUBDIR=slirp
12
14
13
MAINTAINER=	freebsd-ports@FreeBSD.Org
15
MAINTAINER=	ports@FreeBSD.Org
14
16
15
WRKSRC=		${WRKDIR}/slirp-1.0c/src
17
WRKSRC=		${WRKDIR}/${DISTNAME}/src
16
GNU_CONFIGURE=	yes
18
GNU_CONFIGURE=	yes
17
MAN1=		slirp.1
19
MAN1=		slirp.1
18
20
(-)distinfo (-1 / +1 lines)
Line 1 Link Here
1
MD5 (slirp-1.0c.tar.gz) = 62aad016f16b51cbdef4c8e34454f31a
1
MD5 (slirp-1.0.13.tar.gz) = aaa37a0e6433d177f09ba10145c7d8d3
(-)files/patch-ab (-23 / +9 lines)
Lines 1-34 Link Here
1
--- tcp_subr.c.orig	Fri Dec 29 15:45:51 1995
1
--- tcp_subr.c.orig	Sun Jul 21 19:23:18 2002
2
+++ tcp_subr.c	Fri Apr 16 09:03:57 1999
2
+++ tcp_subr.c	Sun Jul 21 19:25:12 2002
3
@@ -238,14 +238,14 @@
3
@@ -241,7 +241,7 @@
4
  * then send a RST to peer.
4
  * then send a RST to peer.
5
  */
5
  */
6
 struct tcpcb *
6
 struct tcpcb *
7
-tcp_drop(tp, errno)
7
-tcp_drop(struct tcpcb *tp, int errno) {
8
+tcp_drop(tp, err)
8
+tcp_drop(struct tcpcb *tp, int err) {
9
 /* tcp_drop(tp, errno)
9
 	register struct tcpcb *tp;
10
 	register struct tcpcb *tp;
10
-	int errno;
11
 	int errno;
11
+	int err;
12
@@ -250,7 +250,7 @@
12
 {
13
 
13
 
14
 	DEBUG_CALL("tcp_drop");
14
 	DEBUG_CALL("tcp_drop");
15
 	DEBUG_ARG("tp = %lx", (long)tp);
15
 	DEBUG_ARG("tp = %lx", (long)tp);
16
-	DEBUG_ARG("errno = %d", errno);
16
-	DEBUG_ARG("errno = %d", errno);
17
+	DEBUG_ARG("err = %d", err);
17
+	DEBUG_ARG("errno = %d", err);
18
 	
18
 	
19
 	if (TCPS_HAVERCVDSYN(tp->t_state)) {
19
 	if (TCPS_HAVERCVDSYN(tp->t_state)) {
20
 		tp->t_state = TCPS_CLOSED;
20
 		tp->t_state = TCPS_CLOSED;
21
@@ -253,10 +253,10 @@
22
 		tcpstat.tcps_drops++;
23
 	} else
24
 		tcpstat.tcps_conndrops++;
25
-/*	if (errno == ETIMEDOUT && tp->t_softerror)
26
- *		errno = tp->t_softerror;
27
+/*	if (err == ETIMEDOUT && tp->t_softerror)
28
+ *		err = tp->t_softerror;
29
  */
30
-/*	so->so_error = errno; */
31
+/*	so->so_error = err; */
32
 	return (tcp_close(tp));
33
 }
34
 

Return to bug 40849