Fix un-escaped left brace, fixex BZ#1685441.

f38
Richard Shaw 6 years ago
parent 7c277d2629
commit 62caba3fb6

@ -0,0 +1,14 @@
Unescaped left brace in regex is deprecated
https://bugzilla.redhat.com/show_bug.cgi?id=1685441
--- a/abi-dumper.pl
+++ b/abi-dumper.pl
@@ -3197,7 +3197,7 @@ sub formatName($$)
if(defined $LambdaSupport)
{ # struct {lambda()}
- $N=~s/(\w){/$1 {/g;
+ $N=~s/(\w)\{/$1 {/g;
}
return ($Cache{"formatName"}{$_[1]}{$_[0]} = $N);

@ -1,12 +1,14 @@
Name: abi-dumper Name: abi-dumper
Version: 1.1 Version: 1.1
Release: 6%{?dist} Release: 7%{?dist}
Summary: Tool to dump ABI of an ELF object containing DWARF debug info Summary: Tool to dump ABI of an ELF object containing DWARF debug info
License: GPLv2 License: GPLv2
URL: http://github.com/lvc/abi-dumper/ URL: http://github.com/lvc/abi-dumper/
Source0: https://github.com/lvc/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz Source0: https://github.com/lvc/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
Patch0: abi-dumper-perl-brace.patch
BuildArch: noarch BuildArch: noarch
BuildRequires: coreutils BuildRequires: coreutils
@ -70,6 +72,9 @@ mkdir -p %{buildroot}%{_mandir}/man1
%changelog %changelog
* Mon Mar 11 2019 Richard Shaw <hobbes1069@gmail.com> - 1.1-7
- Fix un-escaped left brace, fixex BZ#1685441.
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-6 * Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

Loading…
Cancel
Save