File: 02017-06-13T09%3A47%3A58-04%3A00~61003f8.patch

package info (click to toggle)
netperf 2.7.0-0.1
  • links: PTS
  • area: non-free
  • in suites: bookworm, bullseye
  • size: 8,840 kB
  • sloc: ansic: 41,631; sh: 5,259; xml: 3,129; python: 2,376; awk: 68; makefile: 66
file content (23 lines) | stat: -rw-r--r-- 852 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Description: Add support for FreeBSD 12
Author: Andrew Gallatin <gallatin@gmail.com>
Origin: upstream, https://github.com/HewlettPackard/netperf/commit/61003f8
--- a/configure.ac
+++ b/configure.ac
@@ -467,7 +467,7 @@
 #include <sys/socket.h>
 ]])
 		case "$host" in
-		*-*-freebsd[[7-9]].* | *-*-freebsd1[[0-1]].* )
+		*-*-freebsd[[7-9]].* | *-*-freebsd1[[0-2]].* )
 			# FreeBSD 7.x and later SCTP support doesn't need -lsctp.
 			;;
 		*)
@@ -699,7 +699,7 @@
 			enable_cpuutil="kstat - auto"
 			NETCPU_SOURCE="kstat"
 			;;
-                     *-*-freebsd[[4-9]].* | *-*-freebsd1[[0-1]].* | *-*-netbsd[[1-9]].* )
+                     *-*-freebsd[[4-9]].* | *-*-freebsd1[[0-2]].* | *-*-netbsd[[1-9]].* )
 			use_cpuutil=true
 			AC_DEFINE([USE_SYSCTL],,[Use MumbleBSD's sysctl interface to measure CPU util.])
 			enable_cpuutil="sysctl - auto"