summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2019-08-24 12:50:51 +0200
committerJeroen Roovers <jer@gentoo.org>2019-08-24 12:51:52 +0200
commit979e0926594870bc12092e4c02518e4b899e1d84 (patch)
tree23b5d31e09eeb78ef778d2a61a78ad5463f81a57 /net-analyzer/tcpstat/files
parentnet-analyzer/zabbix: migrate to dev-db/mysql-connector-c (diff)
downloadgentoo-979e0926594870bc12092e4c02518e4b899e1d84.tar.gz
gentoo-979e0926594870bc12092e4c02518e4b899e1d84.tar.bz2
gentoo-979e0926594870bc12092e4c02518e4b899e1d84.zip
net-analyzer/tcpstat: EAPI=7
Package-Manager: Portage-2.3.72, Repoman-2.3.17 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'net-analyzer/tcpstat/files')
-rw-r--r--net-analyzer/tcpstat/files/tcpstat-1.5-_DEFAULT_SOURCE.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-analyzer/tcpstat/files/tcpstat-1.5-_DEFAULT_SOURCE.patch b/net-analyzer/tcpstat/files/tcpstat-1.5-_DEFAULT_SOURCE.patch
new file mode 100644
index 000000000000..e3e0df933d5c
--- /dev/null
+++ b/net-analyzer/tcpstat/files/tcpstat-1.5-_DEFAULT_SOURCE.patch
@@ -0,0 +1,11 @@
+--- a/configure.in
++++ b/configure.in
+@@ -68,7 +68,7 @@
+ case $my_build_os in
+ aix*) AC_DEFINE(AIX_STRANGENESS, 1, [ defined on AIX systems. ]) ;;
+ osf1*) AC_DEFINE(TRU64_STRANGENESS, 1, [ defined on OSF systems. ]) ;;
+- linux*) AC_DEFINE(_BSD_SOURCE, 1, [ defined usually on linux systems ] ) ;;
++ linux*) AC_DEFINE(_DEFAULT_SOURCE, 1, [ defined usually on linux systems ] ) ;;
+ bsd/os*) ;;
+ freebsd*) ;;
+ sunos*) ;;