Compare commits

..

1 commit

Author SHA1 Message Date
Jeff Law
0f065c1b51 - Fix for libibery no longer providing PTR
(#2171607)
2023-02-20 11:44:22 -07:00
2 changed files with 12 additions and 51 deletions

View file

@ -1,12 +0,0 @@
diff -up memstomp-0.1.4-38573e7d/configure.ac.orig memstomp-0.1.4-38573e7d/configure.ac
--- memstomp-0.1.4-38573e7d/configure.ac.orig 2023-03-06 14:07:57.086183046 -0500
+++ memstomp-0.1.4-38573e7d/configure.ac 2023-03-06 14:16:31.513215306 -0500
@@ -76,6 +76,8 @@ AC_SEARCH_LIBS([htab_find_slot], [iberty
AC_CHECK_HEADERS([libiberty.h], [], [AC_MSG_ERROR([*** libiberty.h header not found])])
AC_SEARCH_LIBS([bfd_init], [bfd], [], [AC_MSG_ERROR([*** libbfd not found])])
AC_CHECK_HEADERS([bfd.h], [], [AC_MSG_ERROR([*** bfd.h header not found])])
+# Newer binutils-2.40 also need to link with sframe library
+AC_SEARCH_LIBS(sframe_decode, sframe)
#### Typdefs, structures, etc. ####

View file

@ -2,13 +2,12 @@
Name: memstomp
Version: 0.1.4
Release: 44%{?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.
# backtrace-symbols.c is built into an independent .so to avoid license contamination
# Automatically converted from old format: LGPLv3+ and GPLv2+ - review is highly recommended.
License: LGPL-3.0-or-later AND GPL-2.0-or-later
License: LGPLv3+ and GPLv2+
URL: git://fedorapeople.org/home/fedora/wcohen/public_git/memstomp
# The source for this package was pulled from upstream's vcs. Use the
# following commands to generate the tarball:
@ -31,7 +30,6 @@ Patch6: memstomp-rh1133815.patch
Patch7: memstomp-implicit-int.patch
Patch8: bfd-api-change.patch
Patch9: memstomp-PTR.patch
Patch10: memstomp-sframe.patch
%description
@ -43,17 +41,16 @@ overlapping memory arguments to certain library calls.
%prep
%setup -q -n %{name}-%{version}-%{githash}
%patch -P0 -p1
%patch -P1 -p1
%patch -P2 -p1
%patch -P3 -p1
%patch -P4 -p1
%patch -P5 -p1
%patch -P6 -p1
%patch -P7 -p1
%patch -P8 -p1
%patch -P9 -p1
%patch -P10 -p1
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
%patch7 -p1
%patch8 -p1
%patch9 -p1
%build
@ -78,30 +75,6 @@ make install DESTDIR=$RPM_BUILD_ROOT
%{_mandir}/man1/memstomp.1.gz
%changelog
* Thu Jul 24 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.4-44
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Fri Jan 17 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.4-43
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Wed Aug 07 2024 Miroslav Suchý <msuchy@redhat.com> - 0.1.4-42
- convert license to SPDX
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.4-41
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.4-40
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.4-39
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.4-38
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Mon Mar 6 2023 William Cohen <wcohen@redhat.com> - 0.1.4-37
- Link in binutils sframe library when available to fix FTBFS. (rhbz#2171607)
* Mon Feb 20 2023 Jeff Law <law@redhat.com> - 0.1.4-36
- Fix for libibery no longer providing PTR
(#2171607)