public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gdb] gdb-17.2-rebase-f44: Fix 'gdb-8.3.50.20190321-3.fc31.x86_64: crashing' (by fixing
@ 2026-06-27 23:59 Sergio Durigan Junior
  0 siblings, 0 replies; only message in thread
From: Sergio Durigan Junior @ 2026-06-27 23:59 UTC (permalink / raw)
  To: git-commits

          A new commit has been pushed.

          Repo   : rpms/gdb
          Branch : gdb-17.2-rebase-f44
          Commit : 116197567adfde0c3dee39d511b6a53dd10ee099
          Author : Sergio Durigan Junior <sergiodj@redhat.com>
          Date   : 2019-03-29T14:14:19-04:00
          Stats  : +6/-2 in 2 file(s)
          URL    : https://src.fedoraproject.org/rpms/gdb/c/116197567adfde0c3dee39d511b6a53dd10ee099?branch=gdb-17.2-rebase-f44

          Log:
          Fix 'gdb-8.3.50.20190321-3.fc31.x86_64: crashing' (by fixing
gdb-6.6-buildid-locate-rpm.patch) (RH BZ 1694091).

---
diff --git a/gdb-6.6-buildid-locate-rpm.patch b/gdb-6.6-buildid-locate-rpm.patch
index ff2cc65..9506331 100644
--- a/gdb-6.6-buildid-locate-rpm.patch
+++ b/gdb-6.6-buildid-locate-rpm.patch
@@ -520,7 +520,7 @@ diff --git a/gdb/build-id.c b/gdb/build-id.c
 +static bool
 +missing_rpm_list_compar (const char *ap, const char *bp)
 +{
-+  return strcoll (ap, bp);
++  return strcoll (ap, bp) < 0;
 +}
 +
 +/* It returns a NULL-terminated array of strings needing to be FREEd.  It may

diff --git a/gdb.spec b/gdb.spec
index 1d0f41d..0b753c0 100644
--- a/gdb.spec
+++ b/gdb.spec
@@ -30,7 +30,7 @@ Version: 8.3.50.%{snapsrc}
 
 # 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.
-Release: 3%{?dist}
+Release: 4%{?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
 # Do not provide URL for snapshots as the file lasts there only for 2 days.
@@ -1025,6 +1025,10 @@ fi
 %endif
 
 %changelog
+* Fri Mar 29 2019 Sergio Durigan Junior <sergiodj@fedoraproject.org> - 8.3.50.20190321-4
+- Fix 'gdb-8.3.50.20190321-3.fc31.x86_64: crashing' (by fixing
+  gdb-6.6-buildid-locate-rpm.patch) (RH BZ 1694091).
+
 * Thu Mar 21 2019 Sergio Durigan Junior <sergiodj@redhat.com> - 8.3.50.20190321-3
 - Rebase to FSF GDB 8.3.50.20190321 (8.4pre).
 - Remove gdb-temporary-fix-arm-build-error.patch.

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-27 23:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-27 23:59 [rpms/gdb] gdb-17.2-rebase-f44: Fix 'gdb-8.3.50.20190321-3.fc31.x86_64: crashing' (by fixing Sergio Durigan Junior

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox