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
This commit is contained in:
Tim Haines 2024-11-04 17:33:41 -06:00 committed by GitHub
parent c7659df4af
commit c8873ea35c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 16 additions and 0 deletions

View File

@ -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"

View File

@ -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")