summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/dyninst/missing_include_deque.patch11
-rw-r--r--var/spack/repos/builtin/packages/dyninst/package.py5
2 files changed, 16 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/dyninst/missing_include_deque.patch b/var/spack/repos/builtin/packages/dyninst/missing_include_deque.patch
new file mode 100644
index 0000000000..cee31fdbb0
--- /dev/null
+++ b/var/spack/repos/builtin/packages/dyninst/missing_include_deque.patch
@@ -0,0 +1,11 @@
+diff --git a/dataflowAPI/src/AbslocInterface.C b/dataflowAPI/src/AbslocInterface.C
+index 9d7ad000c..582e64004 100644
+--- a/dataflowAPI/src/AbslocInterface.C
++++ b/dataflowAPI/src/AbslocInterface.C
+@@ -29,6 +29,7 @@
+ */
+
+
++#include <deque>
+ #include "Absloc.h"
+ #include "AbslocInterface.h"
diff --git a/var/spack/repos/builtin/packages/dyninst/package.py b/var/spack/repos/builtin/packages/dyninst/package.py
index f71ab53fb7..cca8a3026e 100644
--- a/var/spack/repos/builtin/packages/dyninst/package.py
+++ b/var/spack/repos/builtin/packages/dyninst/package.py
@@ -110,6 +110,11 @@ class Dyninst(CMakePackage):
patch("stackanalysis_h.patch", when="@9.2.0")
patch("v9.3.2-auto.patch", when="@9.3.2 %gcc@:4.7")
patch("tribool.patch", when="@9.3.0:10.0.0 ^boost@1.69:")
+ patch(
+ "missing_include_deque.patch",
+ when="@10.0.0:12.2.0",
+ sha256="0064d8d51bd01bd0035e1ebc49276f627ce6366d4524c92cf47d3c09b0031f96",
+ )
requires("%gcc", when="@:13.0.0", msg="dyninst builds only with GCC")