rpms/rpm/devel rpm-4.4.2.1-buildid-thinko.patch, NONE, 1.1 rpm.spec, 1.245, 1.246

Panu Matilainen (pmatilai) fedora-extras-commits at redhat.com
Sun Aug 12 12:35:42 UTC 2007


Author: pmatilai

Update of /cvs/pkgs/rpms/rpm/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv32063

Modified Files:
	rpm.spec 
Added Files:
	rpm-4.4.2.1-buildid-thinko.patch 
Log Message:
- debugedit buildid thinko fix from Roland McGrath


rpm-4.4.2.1-buildid-thinko.patch:

--- NEW FILE rpm-4.4.2.1-buildid-thinko.patch ---
changeset:   6113:1e7e1ab92d32
tag:         tip
user:        Panu Matilainen <pmatilai at 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);
 



Index: rpm.spec
===================================================================
RCS file: /cvs/pkgs/rpms/rpm/devel/rpm.spec,v
retrieving revision 1.245
retrieving revision 1.246
diff -u -r1.245 -r1.246
--- rpm.spec	9 Aug 2007 13:28:17 -0000	1.245
+++ rpm.spec	12 Aug 2007 12:35:09 -0000	1.246
@@ -14,7 +14,7 @@
 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 @@
 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 @@
 %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 @@
 %{__includedir}/popt.h
 
 %changelog
+* Sun Aug 12 2007 Panu Matilainen <pmatilai at redhat.com> - 4.4.2.1-6
+- debugedit buildid thinko fix from Roland McGrath
+
 * Thu Aug  9 2007 Panu Matilainen <pmatilai at 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)




More information about the fedora-extras-commits mailing list