Update gdb-6.6-buildid-locate.patch to fix RHBZ 2122947.

This commit is contained in:
Alexandra Hájková 2022-10-07 13:59:07 +02:00
parent 89947a7ad7
commit 0923e13efe
2 changed files with 5 additions and 2 deletions

View File

@ -700,7 +700,7 @@ diff --git a/gdb/build-id.c b/gdb/build-id.c
link = gdb_sysroot + link; link = gdb_sysroot + link;
- debug_bfd = build_id_to_debug_bfd_1 (link, build_id_len, build_id); - debug_bfd = build_id_to_debug_bfd_1 (link, build_id_len, build_id);
+ debug_bfd = build_id_to_debug_bfd_1 (link, build_id_len, build_id, + debug_bfd = build_id_to_debug_bfd_1 (link, build_id_len, build_id,
+ link_return); + NULL);
if (debug_bfd != NULL) if (debug_bfd != NULL)
return debug_bfd; return debug_bfd;
} }

View File

@ -37,7 +37,7 @@ Version: 12.1
# The release always contains a leading reserved number, start it at 1. # The release always contains a leading reserved number, start it at 1.
# `upstream' is not a part of `name' to stay fully rpm dependencies compatible for the testing. # `upstream' is not a part of `name' to stay fully rpm dependencies compatible for the testing.
Release: 1%{?dist} Release: 2%{?dist}
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ and GPLv2+ with exceptions and GPL+ and LGPLv2+ and LGPLv3+ and BSD and Public Domain and GFDL License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ and GPLv2+ with exceptions and GPL+ and LGPLv2+ and LGPLv3+ and BSD and Public Domain and GFDL
# Do not provide URL for snapshots as the file lasts there only for 2 days. # Do not provide URL for snapshots as the file lasts there only for 2 days.
@ -1146,6 +1146,9 @@ fi
%endif %endif
%changelog %changelog
* Wed Oct 5 2022 Alexandra Hájková - 12.1-2
- Update gdb-6.6-buildid-locate.patch to fix RHBZ 2122947.
* Fri May 6 2022 Kevin Buettner - 12.1-1 * Fri May 6 2022 Kevin Buettner - 12.1-1
- Rebase to FSF GDB 12.1. - Rebase to FSF GDB 12.1.
- Update gdb-6.6-buildid-locate.patch. - Update gdb-6.6-buildid-locate.patch.