Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Dec 2017 03:27:03 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r456094 - head/net/nethogs
Message-ID:  <201712120327.vBC3R3UA013705@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712120327.vBC3R3UA013705>