!8 update to 10.2.1
From: @xinghe_1 Reviewed-by: @SuperSix173 Signed-off-by: @SuperSix173
This commit is contained in:
commit
58dfb0ba67
Binary file not shown.
20
dyninst.spec
20
dyninst.spec
@ -1,18 +1,20 @@
|
|||||||
Name: dyninst
|
Name: dyninst
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
Release: 2
|
Release: 1
|
||||||
Version: 10.1.0
|
Version: 10.2.1
|
||||||
Summary: An API for Run-time Code Generation
|
Summary: An API for Run-time Code Generation
|
||||||
ExclusiveArch: x86_64
|
ExclusiveArch: x86_64 aarch64
|
||||||
|
|
||||||
%global dyninst_base dyninst-%{version}
|
%global dyninst_base dyninst-%{version}
|
||||||
%global testsuite_base testsuite-%{version}
|
%global testsuite_version 10.1.0
|
||||||
|
%global testsuite_base testsuite-%{testsuite_version}
|
||||||
|
|
||||||
URL: http://www.dyninst.org
|
URL: http://www.dyninst.org
|
||||||
Source0: https://github.com/dyninst/dyninst/archive/v%{version}/dyninst-%{version}.tar.gz
|
Source0: https://github.com/dyninst/dyninst/archive/v%{version}/dyninst-%{version}.tar.gz
|
||||||
Source1: https://github.com/dyninst/testsuite/archive/v%{version}/testsuite-%{version}.tar.gz
|
Source1: https://github.com/dyninst/testsuite/archive/v%{testsuite_version}/%{testsuite_base}.tar.gz
|
||||||
|
|
||||||
Patch1: testsuite-10.1.0-gettid.patch
|
Patch0: testsuite-10.1.0-gettid.patch
|
||||||
|
Patch1: testsuite-10.1.0-throw.patch
|
||||||
|
|
||||||
BuildRequires: cmake gcc-c++
|
BuildRequires: cmake gcc-c++
|
||||||
BuildRequires: binutils-devel boost-devel
|
BuildRequires: binutils-devel boost-devel
|
||||||
@ -49,7 +51,8 @@ dyninst-doc contains API documentation for the Dyninst libraries.
|
|||||||
%setup -q -n %{name}-%{version} -c
|
%setup -q -n %{name}-%{version} -c
|
||||||
%setup -q -T -D -a 1
|
%setup -q -T -D -a 1
|
||||||
|
|
||||||
%patch1 -p1 -b.gettid
|
%patch0 -p1 -b.gettid
|
||||||
|
%patch1 -p1 -b .throw
|
||||||
|
|
||||||
sed -i.cotire -e 's/USE_COTIRE true/USE_COTIRE false/' \
|
sed -i.cotire -e 's/USE_COTIRE true/USE_COTIRE false/' \
|
||||||
%{dyninst_base}/cmake/shared.cmake
|
%{dyninst_base}/cmake/shared.cmake
|
||||||
@ -138,6 +141,9 @@ find %{buildroot}%{_libdir}/dyninst/testsuite/ \
|
|||||||
%doc %{dyninst_base}/symtabAPI/doc/symtabAPI.pdf
|
%doc %{dyninst_base}/symtabAPI/doc/symtabAPI.pdf
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Jan 30 2021 xinghe <xinghe1@huawei.com> - 10.2.1-1
|
||||||
|
- update to 10.2.1
|
||||||
|
|
||||||
* Fri Jul 31 2020 jinzhimin<jinzhimin2@huawei.com> - 10.1.0-2
|
* Fri Jul 31 2020 jinzhimin<jinzhimin2@huawei.com> - 10.1.0-2
|
||||||
- Add patch to build on glibc>=2.30
|
- Add patch to build on glibc>=2.30
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
--- dyninst-10.1.0/testsuite-10.1.0/src/proccontrol/pcontrol_mutatee_tools.c.orig 2019-05-31 05:20:00.492379706 +0200
|
--- dyninst-10.2.1/testsuite-10.1.0/src/proccontrol/pcontrol_mutatee_tools.c.orig 2019-05-31 05:20:00.492379706 +0200
|
||||||
+++ dyninst-10.1.0/testsuite-10.1.0/src/proccontrol/pcontrol_mutatee_tools.c 2019-05-31 05:10:11.354826668 +0200
|
+++ dyninst-10.2.1/testsuite-10.1.0/src/proccontrol/pcontrol_mutatee_tools.c 2019-05-31 05:10:11.354826668 +0200
|
||||||
@@ -62,9 +62,9 @@
|
@@ -62,9 +62,9 @@
|
||||||
#if !defined(os_windows_test)
|
#if !defined(os_windows_test)
|
||||||
#include <poll.h>
|
#include <poll.h>
|
||||||
|
|||||||
29
testsuite-10.1.0-throw.patch
Normal file
29
testsuite-10.1.0-throw.patch
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
diff --git a/testsuite-10.1.0/src/test_lib.C b/testsuite-10.1.0/src/test_lib.C
|
||||||
|
index 3808c79..73d5dff 100644
|
||||||
|
--- a/testsuite-10.1.0/src/test_lib.C
|
||||||
|
+++ b/testsuite-10.1.0/src/test_lib.C
|
||||||
|
@@ -110,7 +110,7 @@ LocErr::LocErr(const char *__file__, const int __line__, const std::string msg)
|
||||||
|
line__(__line__)
|
||||||
|
{}
|
||||||
|
|
||||||
|
-LocErr::~LocErr() THROW
|
||||||
|
+LocErr::~LocErr() throw()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string LocErr::file() const
|
||||||
|
diff --git a/testsuite-10.1.0/src/test_lib.h b/testsuite-10.1.0/src/test_lib.h
|
||||||
|
index d2a1940..b37676d 100644
|
||||||
|
--- a/testsuite-10.1.0/src/test_lib.h
|
||||||
|
+++ b/testsuite-10.1.0/src/test_lib.h
|
||||||
|
@@ -156,7 +156,7 @@ class LocErr
|
||||||
|
const int __line__,
|
||||||
|
const std::string msg);
|
||||||
|
|
||||||
|
- TESTLIB_DLL_EXPORT virtual ~LocErr() THROW;
|
||||||
|
+ TESTLIB_DLL_EXPORT virtual ~LocErr() throw();
|
||||||
|
|
||||||
|
TESTLIB_DLL_EXPORT std::string file() const;
|
||||||
|
|
||||||
|
--
|
||||||
|
2.23.0
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user