aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2016-12-18 11:55:03 +0800
committermarino <marino@FreeBSD.org>2016-12-18 11:55:03 +0800
commit7780b76fd1fdea09993cbcf82e31a33ae94409ff (patch)
tree90a1401fe506d9f7f89404c8bb04272bafe6b582 /benchmarks
parente58556016100892bcac2f84d3c0b8b68d7944105 (diff)
downloadfreebsd-ports-gnome-7780b76fd1fdea09993cbcf82e31a33ae94409ff.tar.gz
freebsd-ports-gnome-7780b76fd1fdea09993cbcf82e31a33ae94409ff.tar.zst
freebsd-ports-gnome-7780b76fd1fdea09993cbcf82e31a33ae94409ff.zip
benchmarks/dkftpbench: fix build on GCC (taken from dports)
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/dkftpbench/files/patch-Platoon.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/benchmarks/dkftpbench/files/patch-Platoon.h b/benchmarks/dkftpbench/files/patch-Platoon.h
index ab34a9438253..49214b77f178 100644
--- a/benchmarks/dkftpbench/files/patch-Platoon.h
+++ b/benchmarks/dkftpbench/files/patch-Platoon.h
@@ -1,11 +1,12 @@
--- Platoon.h.orig 2002-02-13 05:06:01 UTC
+++ Platoon.h
-@@ -1,13 +1,11 @@
+@@ -1,13 +1,12 @@
#ifndef Platoon_H
#define Platoon_H
#include "robouser.h"
-#include <list.h>
+#include <list>
++#include <cstring>
/* FIXME: 'reasonable' upper bound on number of users CPU can handle */
#define Platoon_MAXUSERS (1 << 16)
@@ -15,7 +16,7 @@
/**----------------------------------------------------------------------
Platoon of robousers.
----------------------------------------------------------------------*/
-@@ -150,7 +148,7 @@ private:
+@@ -150,7 +149,7 @@ private:
robouser_t *m_users[Platoon_MAXUSERS];
/** List of dead robousers waiting to be reaped */