svn commit: r513009 - head/net/nethogs

Piotr Kubaj pkubaj at FreeBSD.org
Fri Sep 27 09:16:40 UTC 2019


Author: pkubaj
Date: Fri Sep 27 09:16:39 2019
New Revision: 513009
URL: https://svnweb.freebsd.org/changeset/ports/513009

Log:
  net/nethogs: fix build on GCC architectures
  
  Needs C++11 compiler:
  inode2prog.cpp: In function 'std::string getprogname(pid_t)':
  inode2prog.cpp:123: error: 'snprintf' is not a member of 'std'
  
  Approved by:	mentors (implicit approval)

Modified:
  head/net/nethogs/Makefile

Modified: head/net/nethogs/Makefile
==============================================================================
--- head/net/nethogs/Makefile	Fri Sep 27 09:00:33 2019	(r513008)
+++ head/net/nethogs/Makefile	Fri Sep 27 09:16:39 2019	(r513009)
@@ -17,7 +17,7 @@ BROKEN_i386=	non-constant-expression cannot be narrowe
 USE_GITHUB=	yes
 GH_ACCOUNT=	raboof
 
-USES=	gmake shebangfix
+USES=	compiler:c++11-lang gmake shebangfix
 
 SHEBANG_FILES=	determineVersion.sh
 bash_CMD=	/bin/sh


More information about the svn-ports-all mailing list