ports/185507: net/latd: Fix build with clang
KATO Tsuguru
tkato432 at yahoo.com
Sun Jan 5 18:10:03 UTC 2014
>Number: 185507
>Category: ports
>Synopsis: net/latd: Fix build with clang
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Jan 05 18:10:02 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 8.4-RELEASE-p4 i386
>Organization:
>Environment:
>Description:
- Fix build with clang
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/net/latd/Makefile net/latd/Makefile
--- /usr/ports/net/latd/Makefile 2013-11-06 21:53:34.000000000 +0900
+++ net/latd/Makefile 2014-01-06 00:00:00.000000000 +0900
@@ -7,23 +7,24 @@
MASTER_SITES= SF/linux-decnet/${PORTNAME}/${PORTVERSION}
MAINTAINER= ports at FreeBSD.org
-COMMENT= The Linux-DECnet project LAT protocol suite
+COMMENT= Linux-DECnet project LAT protocol suite
LICENSE= GPLv2
GNU_CONFIGURE= yes
-MAN1= llogin.1
-MAN5= latd.conf.5
-MAN8= latd.8 latcp.8 moprc.8
-PLIST_FILES= bin/llogin etc/latd.conf.sample sbin/latcp sbin/latd sbin/moprc
+PLIST_FILES= bin/llogin etc/latd.conf.sample \
+ man/man1/llogin.1.gz man/man5/latd.conf.5.gz \
+ man/man8/latd.8.gz man/man8/latcp.8.gz man/man8/moprc.8.gz \
+ sbin/latcp sbin/latd sbin/moprc
-NO_STAGE= yes
post-extract:
@${CHMOD} ${BINMODE} ${WRKSRC}/install-sh
post-patch:
@${FIND} ${WRKSRC} -name "*.cc" | ${XARGS} ${REINPLACE_CMD} -e \
- '/<utmp.h>/s|^|// |'
+ '/<utmp.h>/s|^|// | ; \
+ s| \(setiosflags\)| std::\1| ; \
+ s| \(resetiosflags\)| std::\1|'
.include <bsd.port.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list