Index: head/net/mpd5/Makefile =================================================================== --- head/net/mpd5/Makefile (revision 394222) +++ head/net/mpd5/Makefile (revision 394223) @@ -1,46 +1,46 @@ # Created by: Archie Cobbs # $FreeBSD$ PORTNAME= mpd DISTVERSION= 5.7 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= net MASTER_SITES= SF/${PORTNAME}/Mpd5/Mpd-${PORTVERSION} PKGNAMESUFFIX= 5 DIST_SUBDIR= mpd5 MAINTAINER= mav@FreeBSD.org COMMENT= Multi-link PPP daemon based on netgraph(4) OPTIONS_DEFINE= NG_IPACCT NG_IPACCT_DESC= Use ng_ipacct kernel module from port HAS_CONFIGURE= YES CONFIGURE_WRKSRC= "${WRKSRC}/src" USE_OPENSSL= yes .include .if ${PORT_OPTIONS:MNG_IPACCT} BUILD_DEPENDS+= ${LOCALBASE}/include/netgraph/ng_ipacct.h:${PORTSDIR}/net-mgmt/ng_ipacct .if exists(${KMODDIR}/ng_ipacct.ko) RUN_DEPENDS+= ${KMODDIR}/ng_ipacct.ko:${PORTSDIR}/net-mgmt/ng_ipacct .else RUN_DEPENDS+= /boot/modules/ng_ipacct.ko:${PORTSDIR}/net-mgmt/ng_ipacct .endif .endif USE_RC_SUBR= mpd5 HTMLNUM!= jot 70 1 CONFSUF= conf secret script DOCSDIR= ${PREFIX}/share/doc/mpd5 PORTDOCS= ${HTMLNUM:S/^/mpd/:S/$/.html/} mpd.html mpd.ps README \ mpd_toc.html PLIST_FILES= ${CONFSUF:S/^/etc\/mpd5\/mpd./:S/$/.sample/} sbin/mpd5 .if !defined(WITHOUT_MAN) PLIST_FILES+= man/man8/mpd5.8.gz .endif .include Index: head/net/mpd5/files/patch-src_file.c =================================================================== --- head/net/mpd5/files/patch-src_file.c (nonexistent) +++ head/net/mpd5/files/patch-src_file.c (revision 394223) @@ -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); Property changes on: head/net/mpd5/files/patch-src_file.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property