tcpstat (1.5-7) kfreebsd

Summary

 configure.in |    1 +
 1 file changed, 1 insertion(+)

    
download this patch

Patch contents

From: Rafael Cunha de Almeida <rafael@kontesti.me>
Reviewed-by: Marco TĂșlio Gontijo e Silva <marcot@debian.org>
Forwarded: yes
Last-Update: 2010-05-16
Description: Fix build configuration to work in Debian GNU/kfreebsd.
 Debian GNU/kfreebsd defaults to posix interface, just like linux. This
 patch defines _BSD_SOURCE in gnu/kfreebsd systems.

--- tcpstat-1.5/configure.in	2010-05-16 10:49:00.000000000 -0400
+++ tcpstat/configure.in	2010-05-16 10:47:06.000000000 -0400
@@ -69,6 +69,7 @@
 	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 ] ) ;;
+	gnu/kfreebsd*)		AC_DEFINE(_BSD_SOURCE, 1, [ defined usually on debian kfreebsd systems ] ) ;;
 	bsd/os*)	;;
 	freebsd*)	;;
 	sunos*)		;;