public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:master commit in: sys-cluster/nanos6/, sys-cluster/nanos6/files/
@ 2021-08-27 16:10 Haelwenn Monnier
  0 siblings, 0 replies; only message in thread
From: Haelwenn Monnier @ 2021-08-27 16:10 UTC (permalink / raw
  To: gentoo-commits

commit:     fe4d683d1368f518fa1139678ff8a246250602d7
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Wed Aug 25 06:51:29 2021 +0000
Commit:     Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Wed Aug 25 08:00:16 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fe4d683d

sys-cluster/nanos6: fix build error

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 sys-cluster/nanos6/files/nanos6-2.6-include-string.patch       | 10 ++++++++++
 .../nanos6/{nanos6-2.6-r2.ebuild => nanos6-2.6-r3.ebuild}      |  1 +
 2 files changed, 11 insertions(+)

diff --git a/sys-cluster/nanos6/files/nanos6-2.6-include-string.patch b/sys-cluster/nanos6/files/nanos6-2.6-include-string.patch
new file mode 100644
index 000000000..6882c0c7b
--- /dev/null
+++ b/sys-cluster/nanos6/files/nanos6-2.6-include-string.patch
@@ -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"

diff --git a/sys-cluster/nanos6/nanos6-2.6-r2.ebuild b/sys-cluster/nanos6/nanos6-2.6-r3.ebuild
similarity index 98%
rename from sys-cluster/nanos6/nanos6-2.6-r2.ebuild
rename to sys-cluster/nanos6/nanos6-2.6-r3.ebuild
index c3ba5a672..428c57be5 100644
--- a/sys-cluster/nanos6/nanos6-2.6-r2.ebuild
+++ b/sys-cluster/nanos6/nanos6-2.6-r3.ebuild
@@ -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 )"


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-08-27 16:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-27 16:10 [gentoo-commits] repo/proj/guru:master commit in: sys-cluster/nanos6/, sys-cluster/nanos6/files/ Haelwenn Monnier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox