public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Panu Matilainen <pmatilai@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/rpm] pmatilai-v6: - debugedit buildid thinko fix from Roland McGrath
Date: Mon, 23 Nov 2026 09:24:22 GMT	[thread overview]
Message-ID: <179542586240.1.8472750499874441603.rpms-rpm-27c7ab21f462@fedoraproject.org> (raw)

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)

                 reply	other threads:[~2026-11-23  9:24 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=179542586240.1.8472750499874441603.rpms-rpm-27c7ab21f462@fedoraproject.org \
    --to=pmatilai@fedoraproject.org \
    --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