]> git.pld-linux.org Git - packages/dyninst.git/commitdiff
fix build by including missing headers
authorJan Palus <atler@pld-linux.org>
Sun, 19 Feb 2023 20:51:50 +0000 (21:51 +0100)
committerJan Palus <atler@pld-linux.org>
Sun, 19 Feb 2023 20:51:50 +0000 (21:51 +0100)
dyninst.spec
missing-includes.patch [new file with mode: 0644]

index 3afa2190b7495145606982a4b8a1b7d946949412..179a517dd95d2eb7298394a5b86b377649c3253a 100644 (file)
@@ -11,6 +11,7 @@ Source0:      https://github.com/dyninst/dyninst/archive/v%{version}/%{name}-%{versio
 Patch0:                %{name}-libname.patch
 Patch1:                %{name}-x32.patch
 Patch2:                %{name}-tbb.patch
+Patch3:                missing-includes.patch
 URL:           https://dyninst.org/dyninst
 # libiberty
 BuildRequires: binutils-devel
@@ -81,6 +82,7 @@ Statyczne biblioteki dyninst.
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 %build
 export CXXFLAGS="%{rpmcxxflags} -DTBB_DEFINE_STD_HASH_SPECIALIZATIONS"
diff --git a/missing-includes.patch b/missing-includes.patch
new file mode 100644 (file)
index 0000000..94aa1e3
--- /dev/null
@@ -0,0 +1,51 @@
+diff -ur dyninst-12.2.1.orig/dataflowAPI/src/AbslocInterface.C dyninst-12.2.1/dataflowAPI/src/AbslocInterface.C
+--- dyninst-12.2.1.orig/dataflowAPI/src/AbslocInterface.C      2022-11-21 20:46:38.000000000 +0100
++++ dyninst-12.2.1/dataflowAPI/src/AbslocInterface.C   2023-02-19 21:34:34.799852999 +0100
+@@ -45,6 +45,8 @@
+ #include "parseAPI/h/CFG.h"
+ #include "parseAPI/h/CodeObject.h"
++#include <deque>
++
+ using namespace Dyninst;
+ using namespace Dyninst::InstructionAPI;
+ extern int df_debug_stackanalysis;
+diff -ur dyninst-12.2.1.orig/instructionAPI/src/AMDGPU/cdna2/InstructionDecoder-amdgpu-cdna2.h dyninst-12.2.1/instructionAPI/src/AMDGPU/cdna2/InstructionDecoder-amdgpu-cdna2.h
+--- dyninst-12.2.1.orig/instructionAPI/src/AMDGPU/cdna2/InstructionDecoder-amdgpu-cdna2.h      2022-11-21 20:46:38.000000000 +0100
++++ dyninst-12.2.1/instructionAPI/src/AMDGPU/cdna2/InstructionDecoder-amdgpu-cdna2.h   2023-02-19 21:33:54.774376195 +0100
+@@ -33,6 +33,9 @@
+ #include "Immediate.h"
+ #include "dyn_regs.h"
++#include <array>
++#include <string>
++
+ namespace Dyninst {
+     namespace InstructionAPI {
+diff -ur dyninst-12.2.1.orig/instructionAPI/src/AMDGPU/vega/InstructionDecoder-amdgpu-vega.h dyninst-12.2.1/instructionAPI/src/AMDGPU/vega/InstructionDecoder-amdgpu-vega.h
+--- dyninst-12.2.1.orig/instructionAPI/src/AMDGPU/vega/InstructionDecoder-amdgpu-vega.h        2022-11-21 20:46:38.000000000 +0100
++++ dyninst-12.2.1/instructionAPI/src/AMDGPU/vega/InstructionDecoder-amdgpu-vega.h     2023-02-19 21:33:48.364566725 +0100
+@@ -33,6 +33,9 @@
+ #include "Immediate.h"
+ #include "dyn_regs.h"
++#include <array>
++#include <string>
++
+ namespace Dyninst {
+     namespace InstructionAPI {
+diff -ur dyninst-12.2.1.orig/instructionAPI/src/InstructionDecoder-aarch64.h dyninst-12.2.1/instructionAPI/src/InstructionDecoder-aarch64.h
+--- dyninst-12.2.1.orig/instructionAPI/src/InstructionDecoder-aarch64.h        2022-11-21 20:46:38.000000000 +0100
++++ dyninst-12.2.1/instructionAPI/src/InstructionDecoder-aarch64.h     2023-02-19 21:33:39.774822043 +0100
+@@ -33,6 +33,9 @@
+ #include "Immediate.h"
+ #include "dyn_regs.h"
++#include <array>
++#include <string>
++
+ namespace Dyninst {
+     namespace InstructionAPI {
This page took 0.499416 seconds and 4 git commands to generate.