From 99f8c3271039ae1c3db38f679313512b86221420 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Oct 27 2020 21:39:31 +0000 Subject: Fix C++17 caught by gcc-11 --- diff --git a/dyninst.spec b/dyninst.spec index 4b33ace..bccc268 100644 --- a/dyninst.spec +++ b/dyninst.spec @@ -1,7 +1,7 @@ Summary: An API for Run-time Code Generation License: LGPLv2+ Name: dyninst -Release: 1%{?dist} +Release: 2%{?dist} URL: http://www.dyninst.org Version: 10.2.0 ExclusiveArch: %{ix86} x86_64 ppc64le aarch64 @@ -13,6 +13,7 @@ Source1: https://github.com/dyninst/testsuite/archive/v10.1.0/testsuite-%{__test Patch1: dyninst-10.2.0-pie.patch Patch2: testsuite-10.1.0-gettid.patch Patch3: testsuite-10.1.0-386.patch +Patch4: %{name}-gcc11.patch %global dyninst_base dyninst-%{version} %global testsuite_base testsuite-%{__testsuite_version} @@ -78,6 +79,7 @@ making sure that dyninst works properly. %patch1 -p1 -b.pie %patch2 -p1 -b.gettid %patch3 -p1 -b.386 +%patch4 -p1 -b .gcc11 # cotire seems to cause non-deterministic gcc errors # https://bugzilla.redhat.com/show_bug.cgi?id=1420551 @@ -173,6 +175,9 @@ echo "%{_libdir}/dyninst" > %{buildroot}/etc/ld.so.conf.d/%{name}-%{_arch}.conf %attr(644,root,root) %{_libdir}/dyninst/testsuite/*.a %changelog +* Tue Oct 27 2020 Jeff Law - 10.2.0-2 +- Fix C++17 issue caught by gcc-11 + * Tue Sep 01 2020 Stan Cox - 10.2.0-1 - Update to 10.2.0