mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 20:13:01 -04:00
sys-cluster/nanos6: fix build error
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
10
sys-cluster/nanos6/files/nanos6-2.6-include-string.patch
Normal file
10
sys-cluster/nanos6/files/nanos6-2.6-include-string.patch
Normal 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"
|
||||
@@ -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 )"
|
||||
Reference in New Issue
Block a user