public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rpm] pmatilai-v6: Fix edit_attributes_str_comp_dir in Patch916 (#1919107)
@ 2026-11-23 9:33 Mark Wielaard
0 siblings, 0 replies; only message in thread
From: Mark Wielaard @ 2026-11-23 9:33 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rpm
Branch : pmatilai-v6
Commit : d5b8c7b4cb601c430a7604b2c4b2da6309f4e522
Author : Mark Wielaard <mjw@fedoraproject.org>
Date : 2021-01-22T11:20:35+01:00
Stats : +6/-2 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/rpm/c/d5b8c7b4cb601c430a7604b2c4b2da6309f4e522?branch=pmatilai-v6
Log:
Fix edit_attributes_str_comp_dir in Patch916 (#1919107)
---
diff --git a/0006-debugedit-Handle-DWARF-5-debug_line-and-debug_line_s.patch b/0006-debugedit-Handle-DWARF-5-debug_line-and-debug_line_s.patch
index f85ff17..1f1a966 100644
--- a/0006-debugedit-Handle-DWARF-5-debug_line-and-debug_line_s.patch
+++ b/0006-debugedit-Handle-DWARF-5-debug_line-and-debug_line_s.patch
@@ -484,7 +484,7 @@ index be5fee85b..d6a0058e9 100644
- dir = (char *) debug_sections[DEBUG_STR].data + idx;
+ debug_section *sec = &debug_sections[line_strp
+ ? DEBUG_LINE_STR : DEBUG_STR];
-+ if (sec->data == NULL || idx >= debug_sections[DEBUG_STR].size)
++ if (sec->data == NULL || idx >= sec->size)
+ error (1, 0, "%s: Bad string pointer index %zd for comp_dir (%s)",
+ dso->filename, idx, sec->name);
+ dir = (char *) sec->data + idx;
diff --git a/rpm.spec b/rpm.spec
index 6dc0d70..60bd258 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -32,7 +32,7 @@
%global rpmver 4.16.1.2
#global snapver rc1
-%global rel 3
+%global rel 4
%global sover 9
%global srcver %{rpmver}%{?snapver:-%{snapver}}
@@ -75,6 +75,7 @@ Patch906: rpm-4.7.1-geode-i686.patch
Patch907: rpm-4.15.x-ldflags.patch
# Not yet (all) upstream, debugedit DWARF5
+# https://code.wildebeest.org/git/user/mjw/rpm/log/?h=gcc-dwarf5-4.16.1.2
Patch911: 0001-NFC-debugedit-Protect-macro-arguments-by-parentheses.patch
Patch912: 0002-NFC-debugedit-Move-code-from-edit_dwarf2-to-edit_inf.patch
Patch913: 0003-debugedit-Fix-missing-relocation-of-.debug_types-sec.patch
@@ -573,6 +574,9 @@ fi
%doc doc/librpm/html/*
%changelog
+* Fri Jan 22 2021 Mark Wielaard <mjw@fedoraproject.org> - 4.16.1.2-4
+- Fix edit_attributes_str_comp_dir in Patch916 (#1919107)
+
* Tue Jan 19 2021 Jeff Law <law@redhat.com> - 4.16.1.2-3
- Fix typo in test for F33 or newer
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-23 9:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-23 9:33 [rpms/rpm] pmatilai-v6: Fix edit_attributes_str_comp_dir in Patch916 (#1919107) Mark Wielaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox