sys-cluster/nanos6: fix build error

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2021-08-25 08:51:29 +02:00
parent b3940026b6
commit fe4d683d13
2 changed files with 11 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
--- a/src/hardware-counters/pqos/PQoSHardwareCounters.cpp
+++ b/src/hardware-counters/pqos/PQoSHardwareCounters.cpp
@@ -7,6 +7,7 @@
#include <algorithm>
#include <cassert>
#include <sys/utsname.h>
+#include <string>
#include "PQoSHardwareCounters.hpp"
#include "PQoSTaskHardwareCounters.hpp"

View File

@@ -35,6 +35,7 @@ RDEPEND="
# jemalloc? ( dev-libs/jemalloc )
DEPEND="${RDEPEND}"
PATCHES=( "${FILESDIR}/${P}-include-string.patch" )
# https://github.com/bsc-pm/nanos6/issues/3
RESTRICT="test"
#RESTRICT="!test? ( test )"