diff options
author | Tim Haines <thaines.astro@gmail.com> | 2024-11-04 17:33:41 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-04 15:33:41 -0800 |
commit | c8873ea35c00023ad4c7b12f3c91a22034125ade (patch) | |
tree | d100b94cc60e7748c6d01463f6a3f429d390f1b2 | |
parent | c7659df4af728395f100cc9f88706be8186b4f1c (diff) | |
download | spack-c8873ea35c00023ad4c7b12f3c91a22034125ade.tar.gz spack-c8873ea35c00023ad4c7b12f3c91a22034125ade.tar.bz2 spack-c8873ea35c00023ad4c7b12f3c91a22034125ade.tar.xz spack-c8873ea35c00023ad4c7b12f3c91a22034125ade.zip |
dyninst: patch broken builds for 10.0.0:12.2.0 (#47339)
* dyninst: patch broken builds for 10.0.0:12.3.0
* Only apply before 12.3.0
-rw-r--r-- | var/spack/repos/builtin/packages/dyninst/missing_include_deque.patch | 11 | ||||
-rw-r--r-- | var/spack/repos/builtin/packages/dyninst/package.py | 5 |
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") |