svn commit: r456094 - head/net/nethogs

Jan Beich jbeich at FreeBSD.org
Tue Dec 12 03:27:05 UTC 2017


Author: jbeich
Date: Tue Dec 12 03:27:03 2017
New Revision: 456094
URL: https://svnweb.freebsd.org/changeset/ports/456094

Log:
  net/nethogs: unbreak with GCC < 6
  
  inode2prog.cpp: In function 'std::string getprogname(pid_t)':
  inode2prog.cpp:123: error: 'snprintf' is not a member of 'std'
  
  Reported by:	pkg-fallout (mips64)

Modified:
  head/net/nethogs/Makefile   (contents, props changed)

Modified: head/net/nethogs/Makefile
==============================================================================
--- head/net/nethogs/Makefile	Tue Dec 12 03:21:59 2017	(r456093)
+++ head/net/nethogs/Makefile	Tue Dec 12 03:27:03 2017	(r456094)
@@ -12,12 +12,11 @@ COMMENT=	Small net top tool
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-BROKEN_powerpc64=	fails to compile: inode2prog.cpp: snprintf is not a member of std
-
 USE_GITHUB=	yes
 GH_ACCOUNT=	raboof
 
 USES=	gmake shebangfix
+CXXFLAGS+=	-D_GLIBCXX_USE_C99 # XXX ports/193528
 
 SHEBANG_FILES=	determineVersion.sh
 bash_CMD=	/bin/sh


More information about the svn-ports-head mailing list