From 116197567adfde0c3dee39d511b6a53dd10ee099 Mon Sep 17 00:00:00 2001 From: Sergio Durigan Junior Date: Mar 29 2019 18:14:19 +0000 Subject: 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 - 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 - 8.3.50.20190321-3 - Rebase to FSF GDB 8.3.50.20190321 (8.4pre). - Remove gdb-temporary-fix-arm-build-error.patch.