diff --git a/dyninst-10.1.0.tar.gz b/dyninst-10.2.1.tar.gz similarity index 54% rename from dyninst-10.1.0.tar.gz rename to dyninst-10.2.1.tar.gz index 6bcfa7772ba756a8682fe0a35d4028c7101a39da..7634307df8f63665ac43122d587d07fe6dd32039 100644 Binary files a/dyninst-10.1.0.tar.gz and b/dyninst-10.2.1.tar.gz differ diff --git a/dyninst.spec b/dyninst.spec index 4d202b7812a44e1e40359bcd710d426666b6946f..7848b7cbddf2a3ac1bd3b65fb5398c9863bf7ee1 100644 --- a/dyninst.spec +++ b/dyninst.spec @@ -1,18 +1,20 @@ Name: dyninst License: LGPLv2+ -Release: 2 -Version: 10.1.0 +Release: 1 +Version: 10.2.1 Summary: An API for Run-time Code Generation -ExclusiveArch: x86_64 +ExclusiveArch: x86_64 aarch64 %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 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: 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 -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/' \ %{dyninst_base}/cmake/shared.cmake @@ -138,6 +141,9 @@ find %{buildroot}%{_libdir}/dyninst/testsuite/ \ %doc %{dyninst_base}/symtabAPI/doc/symtabAPI.pdf %changelog +* Sat Jan 30 2021 xinghe - 10.2.1-1 +- update to 10.2.1 + * Fri Jul 31 2020 jinzhimin - 10.1.0-2 - Add patch to build on glibc>=2.30 diff --git a/testsuite-10.1.0-gettid.patch b/testsuite-10.1.0-gettid.patch index 9b75b258d7a1fdd05643b04aaa689609b480b5a7..50a1c132f47a395460303e594cd8da2cf19a510f 100644 --- a/testsuite-10.1.0-gettid.patch +++ b/testsuite-10.1.0-gettid.patch @@ -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.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.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 diff --git a/testsuite-10.1.0-throw.patch b/testsuite-10.1.0-throw.patch new file mode 100644 index 0000000000000000000000000000000000000000..1de80a75b9c5b88951743a5daf30ece4e21114b9 --- /dev/null +++ b/testsuite-10.1.0-throw.patch @@ -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 +