diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2017-12-12 03:27:03 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2017-12-12 03:27:03 +0000 |
commit | 32895b18a556dc905875d4cc988fe6ff019cf2ec (patch) | |
tree | 00ce97a8a5c6cb4722ff87685010a7d026e382a6 /net/nethogs | |
parent | ee26e7c238785ca8c3d7945c158523c195a63ae1 (diff) | |
download | ports-32895b18a556dc905875d4cc988fe6ff019cf2ec.tar.gz ports-32895b18a556dc905875d4cc988fe6ff019cf2ec.zip |
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)
Notes
Notes:
svn path=/head/; revision=456094
Diffstat (limited to 'net/nethogs')
-rw-r--r-- | net/nethogs/Makefile | 3 |
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 |