summaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorasau <asau>2014-04-23 20:17:32 +0000
committerasau <asau>2014-04-23 20:17:32 +0000
commitbaec3931f1a02ae4814e22fd7b573313cbe27ca7 (patch)
treeabdee4ebf9eb8f18d0e232e3377e8f16e9c0d3c3 /benchmarks
parent9f8cbb6d20b20e839bbff06a301ff38e171b7e8f (diff)
downloadpkgsrc-baec3931f1a02ae4814e22fd7b573313cbe27ca7.tar.gz
Fix build on FreeBSD.
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/lmbench/distinfo4
-rw-r--r--benchmarks/lmbench/patches/patch-ad4
-rw-r--r--benchmarks/netperf/distinfo3
-rw-r--r--benchmarks/netperf/patches/patch-src_dscp.c14
4 files changed, 20 insertions, 5 deletions
diff --git a/benchmarks/lmbench/distinfo b/benchmarks/lmbench/distinfo
index 16f83b4ddf8..b3ba8c583da 100644
--- a/benchmarks/lmbench/distinfo
+++ b/benchmarks/lmbench/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.11 2009/07/09 20:26:11 hasso Exp $
+$NetBSD: distinfo,v 1.12 2014/04/23 20:17:32 asau Exp $
SHA1 (lmbench-2alpha11.tgz) = 7480815b8f8d4000647db59eb6160e9dbac06490
RMD160 (lmbench-2alpha11.tgz) = 361401104fd5ea3a6e0a26a754ffd66fb2d9e9d6
@@ -6,7 +6,7 @@ Size (lmbench-2alpha11.tgz) = 464956 bytes
SHA1 (patch-aa) = 0f16f206d56cfdfdd870d21afcef46e3b8e2c53a
SHA1 (patch-ab) = b25c659fd808535738591892c552b062bb7e7e8f
SHA1 (patch-ac) = 2aa73fbf3119db95ca483f676bd3f3c2fd25c8f6
-SHA1 (patch-ad) = 6cc3849129c842f50f10771694da57ae50b3d719
+SHA1 (patch-ad) = b23b1321001970cbef384c1cef7e5d64d0b128ff
SHA1 (patch-ae) = 6d55be411c3b1e02fb269a24c1fd115e6e86855a
SHA1 (patch-af) = cd7ae198a225c69a7111a0a9478929223e7daf79
SHA1 (patch-ag) = ff7937e90faf3457b7b6bba93d9013a500dc85b3
diff --git a/benchmarks/lmbench/patches/patch-ad b/benchmarks/lmbench/patches/patch-ad
index 7ba1570e596..459a9eadff0 100644
--- a/benchmarks/lmbench/patches/patch-ad
+++ b/benchmarks/lmbench/patches/patch-ad
@@ -1,4 +1,4 @@
-$NetBSD: patch-ad,v 1.3 2009/07/09 20:26:11 hasso Exp $
+$NetBSD: patch-ad,v 1.4 2014/04/23 20:17:32 asau Exp $
--- src/lat_rpc.c.orig Sat Aug 1 05:55:18 1998
+++ src/lat_rpc.c Thu Jul 5 13:18:49 2001
@@ -6,7 +6,7 @@ $NetBSD: patch-ad,v 1.3 2009/07/09 20:26:11 hasso Exp $
}
static void xact_prog_1();
-+#if !defined(__NetBSD__) && !defined(__DragonFly__)
++#if !defined(__NetBSD__) && !defined(__FreeBSD__) && !defined(__DragonFly__)
bool_t pmap_set(u_long prognum, u_long versnum, u_long protocol, u_short port);
+#endif
bool_t pmap_unset(u_long prognum, u_long versnum);
diff --git a/benchmarks/netperf/distinfo b/benchmarks/netperf/distinfo
index bdcaa5b40c3..b5a4d7cc939 100644
--- a/benchmarks/netperf/distinfo
+++ b/benchmarks/netperf/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.7 2014/04/01 11:13:27 adam Exp $
+$NetBSD: distinfo,v 1.8 2014/04/23 20:19:18 asau Exp $
SHA1 (netperf-2.6.0.tar.bz2) = 3e1be4e7c3f7a838c4d5c00c6d20a619b320bfef
RMD160 (netperf-2.6.0.tar.bz2) = c3adf0b67e1d8e8a51c229910aa7347182991df2
@@ -6,3 +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
diff --git a/benchmarks/netperf/patches/patch-src_dscp.c b/benchmarks/netperf/patches/patch-src_dscp.c
new file mode 100644
index 00000000000..60617883db9
--- /dev/null
+++ b/benchmarks/netperf/patches/patch-src_dscp.c
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_dscp.c,v 1.1 2014/04/23 20:19:18 asau Exp $
+
+--- src/dscp.c.orig 2012-04-03 23:51:29.000000000 +0000
++++ src/dscp.c
+@@ -49,6 +49,9 @@ const char * iptos2str(int iptos);
+ * Definitions for IP type of service (ip_tos)
+ */
+
++#if defined(__FreeBSD__)
++#include <sys/types.h> /* u_int16_t */
++#endif
+ #if HAVE_NETINET_IN_SYSTM_H
+ #include <netinet/in_systm.h>
+ #endif