public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rpm] pmatilai-v6: - debugedit buildid thinko fix from Roland McGrath
@ 2026-11-23 9:24 Panu Matilainen
0 siblings, 0 replies; only message in thread
From: Panu Matilainen @ 2026-11-23 9:24 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rpm
Branch : pmatilai-v6
Commit : 27c7ab21f462e06c55ef6c3d6958d7fb4c3a6d1d
Author : Panu Matilainen <pmatilai@fedoraproject.org>
Date : 2007-08-12T12:35:09+00:00
Stats : +30/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/rpm/c/27c7ab21f462e06c55ef6c3d6958d7fb4c3a6d1d?branch=pmatilai-v6
Log:
- debugedit buildid thinko fix from Roland McGrath
---
diff --git a/rpm-4.4.2.1-buildid-thinko.patch b/rpm-4.4.2.1-buildid-thinko.patch
new file mode 100644
index 0000000..f88b896
--- /dev/null
+++ b/rpm-4.4.2.1-buildid-thinko.patch
@@ -0,0 +1,24 @@
+changeset: 6113:1e7e1ab92d32
+tag: tip
+user: Panu Matilainen <pmatilai@redhat.com>
+date: Sun Aug 12 15:27:46 2007 +0300
+files: tools/debugedit.c
+description:
+Fix debugedit buildid thinko.
+Patch from Roland McGrath
+(transplanted from fb1ee4c438c929f0b2af376fd23e05e52947b977)
+
+
+diff -r 7fde0de974ee -r 1e7e1ab92d32 tools/debugedit.c
+--- a/tools/debugedit.c Thu Aug 09 15:15:24 2007 +0300
++++ b/tools/debugedit.c Sun Aug 12 15:27:46 2007 +0300
+@@ -1329,7 +1329,7 @@ handle_build_id (DSO *dso, Elf_Data *bui
+ }
+
+ /* Clear the old bits so they do not affect the new hash. */
+- memset ((char *) build_id->d_buf + build_id_offset, 0, build_id_offset);
++ memset ((char *) build_id->d_buf + build_id_offset, 0, build_id_size);
+
+ hashFunctionContextInit (&ctx, hf);
+
+
diff --git a/rpm.spec b/rpm.spec
index 3c97577..dc214b4 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -14,7 +14,7 @@ Summary: The RPM package management system
Name: rpm
Version: 4.4.2.1
%{expand: %%define rpm_version %{version}}
-Release: 5%{?dist}
+Release: 6%{?dist}
Group: System Environment/Base
Url: http://www.rpm.org/
Source: rpm-%{rpm_version}.tar.gz
@@ -34,6 +34,7 @@ Patch13: rpm-4.4.2.1-bdb-glibc.patch
Patch14: rpm-4.4.2.1-rpm-glibc.patch
Patch15: rpm-4.4.2.1-config-mtime.patch
Patch16: rpm-4.4.2.1-strict-docdir.patch
+Patch17: rpm-4.4.2.1-buildid-thinko.patch
# XXX Beware, this is one murky license, partially GPL/LGPL dual-licensed
# and several different components with their own licenses included...
License: (GPLv2 and LGPLv2 with exceptions) and BSD and MIT and Sleepycat
@@ -161,6 +162,7 @@ shell-like rules.
%patch14 -p1 -b .rpm-glibc
%patch15 -p1 -b .config-mtime
%patch16 -p1 -b .strict-docdir
+%patch17 -p1 -b .buildid-thinko
cp -f %{SOURCE2} scripts/find-debuginfo.sh
%build
@@ -465,6 +467,9 @@ exit 0
%{__includedir}/popt.h
%changelog
+* Sun Aug 12 2007 Panu Matilainen <pmatilai@redhat.com> - 4.4.2.1-6
+- debugedit buildid thinko fix from Roland McGrath
+
* Thu Aug 9 2007 Panu Matilainen <pmatilai@redhat.com> - 4.4.2.1-5
- avoid unnecessary .rpmsave / .rpmnew files by Tomas Mraz (#29470, #128622)
- stricter docdir checking by Ralf S. Engelschall (#246819)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-23 9:24 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:24 [rpms/rpm] pmatilai-v6: - debugedit buildid thinko fix from Roland McGrath Panu Matilainen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox