diff options
author | jbeich <jbeich@FreeBSD.org> | 2017-12-12 11:27:03 +0800 |
---|---|---|
committer | Koop Mast <kwm@rainbow-runner.nl> | 2018-02-04 06:07:29 +0800 |
commit | 4421dda136f1598fb17ef3903dcbdda1d17fd84b (patch) | |
tree | 12422bf3a585ec03fdd4fa488576f1af52f1f5f0 /net/nethogs | |
parent | f9e705d0f7ccd7d309fccd39a66b38d2ae7306e9 (diff) | |
download | freebsd-ports-gnome-4421dda136f1598fb17ef3903dcbdda1d17fd84b.tar.gz freebsd-ports-gnome-4421dda136f1598fb17ef3903dcbdda1d17fd84b.tar.zst freebsd-ports-gnome-4421dda136f1598fb17ef3903dcbdda1d17fd84b.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)
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 |