aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2017-12-12 03:29:12 +0000
committerJan Beich <jbeich@FreeBSD.org>2017-12-12 03:29:12 +0000
commitf98088131e5b23808c8ab3f30ccfa803bb1fbca9 (patch)
treeeaa01e4dcf73b54c6908ca9cd286dba1d5899742
parent17c60958994ba28d9fd5a91d88e59c55b00362fe (diff)
downloadports-f98088131e5b23808c8ab3f30ccfa803bb1fbca9.tar.gz
ports-f98088131e5b23808c8ab3f30ccfa803bb1fbca9.zip
MFH: r456094
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) Approved by: ports-secteam blanket
Notes
Notes: svn path=/branches/2017Q4/; revision=456095
-rw-r--r--net/nethogs/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/nethogs/Makefile b/net/nethogs/Makefile
index bd8896928553..19cdcf0498b7 100644
--- a/net/nethogs/Makefile
+++ b/net/nethogs/Makefile
@@ -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