1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

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)
This commit is contained in:
Jan Beich 2017-12-12 03:27:03 +00:00
parent ee26e7c238
commit 32895b18a5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=456094

View File

@ -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