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

(-)Makefile (-1 / +1 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	mpd
4
PORTNAME=	mpd
5
DISTVERSION=	5.7
5
DISTVERSION=	5.7
6
PORTREVISION=	2
6
PORTREVISION=	3
7
CATEGORIES=	net
7
CATEGORIES=	net
8
MASTER_SITES=	SF/${PORTNAME}/Mpd5/Mpd-${PORTVERSION}
8
MASTER_SITES=	SF/${PORTNAME}/Mpd5/Mpd-${PORTVERSION}
9
PKGNAMESUFFIX=	5
9
PKGNAMESUFFIX=	5
(-)files/patch-src_file.c (+17 lines)
Line 0 Link Here
1
--- src/iface.c	2015/05/13 12:31:43	1.223
2
+++ src/iface.c	2015/06/02 08:57:13	1.224
3
@@ -3654,9 +3654,11 @@
4
 	b->name, iface->ifname, ifname));
5
 
6
     if (ioctl(s, SIOCSIFNAME, (caddr_t)&ifr) < 0) {
7
-	Perror("[%s] IFACE: ioctl(%s, SIOCSIFNAME)", b->name, iface->ifname);
8
-	close(s);
9
-	return(-1);
10
+	if (errno != EEXIST) {
11
+	    Perror("[%s] IFACE: ioctl(%s, SIOCSIFNAME)", b->name, iface->ifname);
12
+	    close(s);
13
+	    return(-1);
14
+	}
15
     }
16
 
17
     close(s);

Return to bug 200722