Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Dec 2016 03:55:03 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r428827 - head/benchmarks/dkftpbench/files
Message-ID:  <201612180355.uBI3t3Fa050004@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Sun Dec 18 03:55:03 2016
New Revision: 428827
URL: https://svnweb.freebsd.org/changeset/ports/428827

Log:
  benchmarks/dkftpbench: fix build on GCC (taken from dports)

Modified:
  head/benchmarks/dkftpbench/files/patch-Platoon.h

Modified: head/benchmarks/dkftpbench/files/patch-Platoon.h
==============================================================================
--- head/benchmarks/dkftpbench/files/patch-Platoon.h	Sun Dec 18 03:35:36 2016	(r428826)
+++ head/benchmarks/dkftpbench/files/patch-Platoon.h	Sun Dec 18 03:55:03 2016	(r428827)
@@ -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 */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612180355.uBI3t3Fa050004>