Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Sep 2019 09:16:39 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r513009 - head/net/nethogs
Message-ID:  <201909270916.x8R9GdOc086101@repo.freebsd.org>

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



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