summaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2014-09-23 13:55:00 +0000
committerjperkin <jperkin@pkgsrc.org>2014-09-23 13:55:00 +0000
commitefaa5bdecec593528ce065a58fd78f6bcdba4990 (patch)
tree9eb027c07ac026cfa91be80322af0abf043d6171 /benchmarks
parent9f3b30718133947b66765d159dbefeed932af21b (diff)
downloadpkgsrc-efaa5bdecec593528ce065a58fd78f6bcdba4990.tar.gz
SunOS needs sys/types.h too.
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/netperf/distinfo4
-rw-r--r--benchmarks/netperf/patches/patch-src_dscp.c6
2 files changed, 6 insertions, 4 deletions
diff --git a/benchmarks/netperf/distinfo b/benchmarks/netperf/distinfo
index b5a4d7cc939..634d349587d 100644
--- a/benchmarks/netperf/distinfo
+++ b/benchmarks/netperf/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.8 2014/04/23 20:19:18 asau Exp $
+$NetBSD: distinfo,v 1.9 2014/09/23 13:55:00 jperkin Exp $
SHA1 (netperf-2.6.0.tar.bz2) = 3e1be4e7c3f7a838c4d5c00c6d20a619b320bfef
RMD160 (netperf-2.6.0.tar.bz2) = c3adf0b67e1d8e8a51c229910aa7347182991df2
@@ -6,4 +6,4 @@ Size (netperf-2.6.0.tar.bz2) = 1032953 bytes
SHA1 (patch-ab) = 096eed1eccf6a2f7003898711384ed67019800d7
SHA1 (patch-ah) = b2ee5c6312ed987d6b796fa462dcc3557146580f
SHA1 (patch-ak) = 68628408979f164f2843bbe0eac0cb122af3b4fc
-SHA1 (patch-src_dscp.c) = 9f0d224f4497b3b04cb1cf36bf52be77254e2624
+SHA1 (patch-src_dscp.c) = 2a0c91cc61b85b480b14674fd680c9809660c7b8
diff --git a/benchmarks/netperf/patches/patch-src_dscp.c b/benchmarks/netperf/patches/patch-src_dscp.c
index 60617883db9..4a3812e1ea0 100644
--- a/benchmarks/netperf/patches/patch-src_dscp.c
+++ b/benchmarks/netperf/patches/patch-src_dscp.c
@@ -1,4 +1,6 @@
-$NetBSD: patch-src_dscp.c,v 1.1 2014/04/23 20:19:18 asau Exp $
+$NetBSD: patch-src_dscp.c,v 1.2 2014/09/23 13:55:00 jperkin Exp $
+
+SunOS needs sys/types.h.
--- src/dscp.c.orig 2012-04-03 23:51:29.000000000 +0000
+++ src/dscp.c
@@ -6,7 +8,7 @@ $NetBSD: patch-src_dscp.c,v 1.1 2014/04/23 20:19:18 asau Exp $
* Definitions for IP type of service (ip_tos)
*/
-+#if defined(__FreeBSD__)
++#if defined(__FreeBSD__) || defined(__sun)
+#include <sys/types.h> /* u_int16_t */
+#endif
#if HAVE_NETINET_IN_SYSTM_H