!18 add missing #include <deque>

From: @WizardHowl 
Reviewed-by: @liqingqing_1229 
Signed-off-by: @liqingqing_1229
This commit is contained in:
openeuler-ci-bot 2023-02-13 08:30:38 +00:00 committed by Gitee
commit f3d8838ab0
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 38 additions and 1 deletions

View File

@ -0,0 +1,28 @@
From 2e3bf92eedf575c780e4381ae810a050ee404f03 Mon Sep 17 00:00:00 2001
From: kupsch <kupsch@cs.wisc.edu>
Date: Thu, 5 Jan 2023 13:13:14 -0600
Subject: [PATCH] add missing include file (#1344)
- add missing #include <deque>
On more platforms and library combinations <deque> is included via
some other header, but there is combination where this is not true
---
dataflowAPI/src/AbslocInterface.C | 1 +
1 file changed, 1 insertion(+)
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"
--
2.33.0

View File

@ -1,6 +1,6 @@
Name: dyninst
License: LGPLv2+
Release: 1
Release: 2
Version: 12.2.1
Summary: An API for Run-time Code Generation
ExclusiveArch: x86_64 aarch64
@ -13,6 +13,8 @@ URL: http://www.dyninst.org
Source0: https://github.com/dyninst/dyninst/archive/v%{version}/dyninst-%{version}.tar.gz
Source1: https://github.com/dyninst/testsuite/archive/v%{testsuite_version}/%{testsuite_base}.tar.gz
Patch1: 0001-add-missing-include-file-1344.patch
BuildRequires: cmake gcc-c++
BuildRequires: binutils-devel boost-devel
BuildRequires: elfutils-libelf-devel
@ -48,6 +50,10 @@ dyninst-doc contains API documentation for the Dyninst libraries.
%setup -q -n %{name}-%{version} -c
%setup -q -T -D -a 1
pushd %{dyninst_base}
%patch1 -p1
popd
sed -i.cotire -e 's/USE_COTIRE true/USE_COTIRE false/' \
%{dyninst_base}/cmake/shared.cmake
@ -134,6 +140,9 @@ find %{buildroot}%{_libdir}/dyninst/testsuite/ \
%doc %{dyninst_base}/symtabAPI/doc/symtabAPI.pdf
%changelog
* Mon Feb 13 2023 Wenyu Liu <liuwenyu7@huawei.com> - 12.2.1-2
- add missing #include <deque>
* Sun Jan 29 2023 Wenyu Liu <liuwenyu7@huawei.com> - 12.2.1-1
- update to 12.2.1