svn commit: r394223 - in head/net/mpd5: . files
Renato Botelho
garga at FreeBSD.org
Fri Aug 14 15:03:31 UTC 2015
Author: garga
Date: Fri Aug 14 15:03:30 2015
New Revision: 394223
URL: https://svnweb.freebsd.org/changeset/ports/394223
Log:
- Backport mpd5 fix (rev. 1224):
Do not print warning, when we a renaming interface to existing name
https://forum.pfsense.org/index.php?topic=41061.msg476926
- Bump PORTREVISION
PR: 200722
Approved by: maintainer timeout (> 2 months)
Sponsored by: Netgate
Added:
head/net/mpd5/files/patch-src_file.c (contents, props changed)
Modified:
head/net/mpd5/Makefile
Modified: head/net/mpd5/Makefile
==============================================================================
--- head/net/mpd5/Makefile Fri Aug 14 14:51:58 2015 (r394222)
+++ head/net/mpd5/Makefile Fri Aug 14 15:03:30 2015 (r394223)
@@ -3,7 +3,7 @@
PORTNAME= mpd
DISTVERSION= 5.7
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= net
MASTER_SITES= SF/${PORTNAME}/Mpd5/Mpd-${PORTVERSION}
PKGNAMESUFFIX= 5
Added: head/net/mpd5/files/patch-src_file.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/mpd5/files/patch-src_file.c Fri Aug 14 15:03:30 2015 (r394223)
@@ -0,0 +1,17 @@
+--- src/iface.c 2015/05/13 12:31:43 1.223
++++ src/iface.c 2015/06/02 08:57:13 1.224
+@@ -3654,9 +3654,11 @@
+ b->name, iface->ifname, ifname));
+
+ if (ioctl(s, SIOCSIFNAME, (caddr_t)&ifr) < 0) {
+- Perror("[%s] IFACE: ioctl(%s, SIOCSIFNAME)", b->name, iface->ifname);
+- close(s);
+- return(-1);
++ if (errno != EEXIST) {
++ Perror("[%s] IFACE: ioctl(%s, SIOCSIFNAME)", b->name, iface->ifname);
++ close(s);
++ return(-1);
++ }
+ }
+
+ close(s);
More information about the svn-ports-head
mailing list