update verion to 11.0.1
(cherry picked from commit 6a2eaf9dd8bdbaf1c615a29f06c413606571ed49)
This commit is contained in:
parent
58dfb0ba67
commit
778eb92805
Binary file not shown.
13
dyninst.spec
13
dyninst.spec
@ -1,21 +1,18 @@
|
|||||||
Name: dyninst
|
Name: dyninst
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
Release: 1
|
Release: 1
|
||||||
Version: 10.2.1
|
Version: 11.0.1
|
||||||
Summary: An API for Run-time Code Generation
|
Summary: An API for Run-time Code Generation
|
||||||
ExclusiveArch: x86_64 aarch64
|
ExclusiveArch: x86_64 aarch64
|
||||||
|
|
||||||
%global dyninst_base dyninst-%{version}
|
%global dyninst_base dyninst-%{version}
|
||||||
%global testsuite_version 10.1.0
|
%global testsuite_version 11.0.1
|
||||||
%global testsuite_base testsuite-%{testsuite_version}
|
%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%{testsuite_version}/%{testsuite_base}.tar.gz
|
Source1: https://github.com/dyninst/testsuite/archive/v%{testsuite_version}/%{testsuite_base}.tar.gz
|
||||||
|
|
||||||
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
|
||||||
BuildRequires: elfutils-libelf-devel
|
BuildRequires: elfutils-libelf-devel
|
||||||
@ -51,9 +48,6 @@ 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
|
||||||
|
|
||||||
%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
|
||||||
|
|
||||||
@ -141,6 +135,9 @@ find %{buildroot}%{_libdir}/dyninst/testsuite/ \
|
|||||||
%doc %{dyninst_base}/symtabAPI/doc/symtabAPI.pdf
|
%doc %{dyninst_base}/symtabAPI/doc/symtabAPI.pdf
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Dec 4 2021 zhouwenpei <zhouwenpei1@huawei.com> - 11.0.1-1
|
||||||
|
- update to 11.0.1
|
||||||
|
|
||||||
* Sat Jan 30 2021 xinghe <xinghe1@huawei.com> - 10.2.1-1
|
* Sat Jan 30 2021 xinghe <xinghe1@huawei.com> - 10.2.1-1
|
||||||
- update to 10.2.1
|
- update to 10.2.1
|
||||||
|
|
||||||
|
|||||||
@ -1,15 +0,0 @@
|
|||||||
--- 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.2.1/testsuite-10.1.0/src/proccontrol/pcontrol_mutatee_tools.c 2019-05-31 05:10:11.354826668 +0200
|
|
||||||
@@ -62,9 +62,9 @@
|
|
||||||
#if !defined(os_windows_test)
|
|
||||||
#include <poll.h>
|
|
||||||
|
|
||||||
-static unsigned int gettid(){
|
|
||||||
- return (unsigned int)pthread_self();
|
|
||||||
-}
|
|
||||||
+// static unsigned int gettid(){
|
|
||||||
+// return (unsigned int)pthread_self();
|
|
||||||
+// }
|
|
||||||
#endif
|
|
||||||
|
|
||||||
thread_t threads[MAX_POSSIBLE_THREADS];
|
|
||||||
@ -1,29 +0,0 @@
|
|||||||
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
|
|
||||||
|
|
||||||
Binary file not shown.
BIN
testsuite-11.0.1.tar.gz
Normal file
BIN
testsuite-11.0.1.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user