public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Sergio Durigan Junior <sergiodj@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/gdb] gdb-17.2-rebase-f44: Fix 'gdb-8.3.50.20190321-3.fc31.x86_64: crashing' (by fixing
Date: Sat, 27 Jun 2026 23:59:38 GMT	[thread overview]
Message-ID: <178260477873.1.17644452713059144420.rpms-gdb-116197567adf@fedoraproject.org> (raw)

          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.

                 reply	other threads:[~2026-06-27 23:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178260477873.1.17644452713059144420.rpms-gdb-116197567adf@fedoraproject.org \
    --to=sergiodj@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox