diff --git a/memstomp-PTR.patch b/memstomp-PTR.patch new file mode 100644 index 0000000..0afb7d8 --- /dev/null +++ b/memstomp-PTR.patch @@ -0,0 +1,17 @@ +diff --git a/backtrace-symbols.c b/backtrace-symbols.c +index 5384e2e..9fc464a 100644 +--- a/backtrace-symbols.c ++++ b/backtrace-symbols.c +@@ -90,10 +90,10 @@ static asymbol **slurp_symtab(bfd *const abfd) + return syms; + + unsigned int size; +- long symcount = bfd_read_minisymbols(abfd, false, (PTR) & syms, &size); ++ long symcount = bfd_read_minisymbols(abfd, false, (void *) & syms, &size); + if (symcount == 0) + symcount = bfd_read_minisymbols(abfd, true /* dynamic */ , +- (PTR) & syms, &size); ++ (void *) & syms, &size); + + if (symcount < 0) + bfd_fatal(bfd_get_filename(abfd)); diff --git a/memstomp.spec b/memstomp.spec index 9df1c3c..a6efae3 100644 --- a/memstomp.spec +++ b/memstomp.spec @@ -2,7 +2,7 @@ Name: memstomp Version: 0.1.4 -Release: 35%{?dist} +Release: 36%{?dist} Summary: Warns of memory argument overlaps to various functions # The entire source code is LGPLV3+ with the exception of backtrace-symbols.c which # is GPLv2+ by way of being a hacked up old version of binutils's addr2line. @@ -29,6 +29,7 @@ Patch5: memstomp-rh1093173.patch Patch6: memstomp-rh1133815.patch Patch7: memstomp-implicit-int.patch Patch8: bfd-api-change.patch +Patch9: memstomp-PTR.patch %description @@ -49,6 +50,7 @@ overlapping memory arguments to certain library calls. %patch6 -p1 %patch7 -p1 %patch8 -p1 +%patch9 -p1 %build @@ -73,6 +75,10 @@ make install DESTDIR=$RPM_BUILD_ROOT %{_mandir}/man1/memstomp.1.gz %changelog +* Mon Feb 20 2023 Jeff Law - 0.1.4-36 +- Fix for libibery no longer providing PTR + (#2171607) + * Thu Jan 19 2023 Fedora Release Engineering - 0.1.4-35 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild