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: - add back accidentally dropped debugedit patch until upstreamed
Date: Mon, 23 Nov 2026 09:24:30 GMT [thread overview]
Message-ID: <179542587073.1.7452672971354442195.rpms-rpm-61cb76acd653@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rpm
Branch : pmatilai-v6
Commit : 61cb76acd65395d7003eb27787459a8242dfa08b
Author : Panu Matilainen <pmatilai@fedoraproject.org>
Date : 2007-09-04T06:11:33+00:00
Stats : +71/-4 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/rpm/c/61cb76acd65395d7003eb27787459a8242dfa08b?branch=pmatilai-v6
Log:
- add back accidentally dropped debugedit patch until upstreamed
- add a bunch of previously implicit dependencies for rpm-build
---
diff --git a/rpm-4.4.2.1-debuginfo-names.patch b/rpm-4.4.2.1-debuginfo-names.patch
new file mode 100644
index 0000000..5bc6bf7
--- /dev/null
+++ b/rpm-4.4.2.1-debuginfo-names.patch
@@ -0,0 +1,60 @@
+From roland@redhat.com Sun Aug 12 15:45:49 2007
+Date: Sun, 12 Aug 2007 05:45:16 -0700 (PDT)
+From: Roland McGrath <roland@redhat.com>
+To: Panu Matilainen <pmatilai@redhat.com>
+Cc: Paul Nasrat <pnasrat@redhat.com>
+Subject: Re: debugedit.c goof
+
+> No need, already applied upstream HEAD, 4.4.x branch and rawhide build
+> with the fix triggered.
+
+Too quick! I have another fix. ;-)
+
+This one is less trivial, and not tested. It should make it put names in
+the -l file when they match the edit replace directory name as well as the
+edit match directory name, the point being that it emits the same names
+when run twice in a row.
+
+Thanks,
+Roland
+
+
+diff -r fb1ee4c438c9 tools/debugedit.c
+--- a/tools/debugedit.c Sun Aug 12 15:27:46 2007 +0300
++++ b/tools/debugedit.c Sun Aug 12 05:42:13 2007 -0700
+@@ -567,23 +567,22 @@ edit_dwarf2_line (DSO *dso, uint_32 off,
+ memcpy (s + comp_dir_len + 1 + dir_len + 1, file, file_len + 1);
+ }
+ canonicalize_path (s, s);
+- if (base_dir == NULL ||
+- has_prefix (s, base_dir))
+- {
+- char *p;
+- size_t size;
+- ssize_t ret;
+- if (base_dir)
++ if (list_file_fd != -1)
++ {
++ char *p = NULL;
++ if (base_dir == NULL)
++ p = s;
++ else if (has_prefix (s, base_dir))
+ p = s + strlen (base_dir);
+- else
+- p = s;
+-
+- if (list_file_fd != -1)
++ else if (has_prefix (s, dest_dir))
++ p = s + strlen (dest_dir);
++
++ if (p)
+ {
+- size = strlen (p) + 1;
++ size_t size = strlen (p) + 1;
+ while (size > 0)
+ {
+- ret = write (list_file_fd, p, size);
++ ssize_t ret = write (list_file_fd, p, size);
+ if (ret == -1)
+ break;
+ size -= ret;
diff --git a/rpm.spec b/rpm.spec
index 50ca067..ff01276 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -6,7 +6,7 @@
Summary: The RPM package management system
Name: rpm
Version: 4.4.2.2
-Release: 0.1.rc1
+Release: 0.2.rc1
Group: System Environment/Base
Url: http://www.rpm.org/
Source: %{name}-%{version}-rc1.tar.gz
@@ -17,6 +17,7 @@ Patch4: rpm-4.4.2-devel-autodep.patch
Patch5: rpm-4.4.2-rpmfc-skip.patch
Patch6: rpm-4.4.2-matchpathcon.patch
Patch7: rpm-4.4.2.1-no-popt.patch
+Patch8: rpm-4.4.2.1-debuginfo-names.patch
# XXX Beware, this is one murky license, partially GPL/LGPL dual-licensed
# and several different components with their own licenses included...
@@ -97,9 +98,10 @@ will manipulate RPM packages and databases.
%package build
Summary: Scripts and executable programs used to build packages
Group: Development/Tools
-Requires: rpm = %{version}-%{release}, patch >= 2.5, file
-Requires: elfutils >= 0.128
-Requires: findutils
+Requires: rpm = %{version}-%{release}
+Requires: elfutils >= 0.128 binutils
+Requires: findutils sed grep awk diffutils file patch >= 2.5
+Requires: zip gzip bzip2 cpio
%description build
The rpm-build package contains the scripts and executable programs
@@ -138,6 +140,7 @@ that will manipulate RPM packages and databases.
%patch5 -p1 -b .fcskip
%patch6 -p1 -b .matchpathcon
%patch7 -p1 -b .no-popt
+%patch8 -p1 -b .debugedit-names
# force external popt
rm -rf popt/
@@ -403,6 +406,10 @@ exit 0
%endif
%changelog
+* Tue Sep 04 2007 Panu Matilainen <pmatilai@redhat.com> 4.4.2.2-0.2.rc1
+- add back accidentally dropped debugedit patch until upstreamed
+- add a bunch of previously implicit dependencies for rpm-build
+
* Tue Aug 28 2007 Panu Matilainen <pmatilai@redhat.com> 4.4.2.2-0.1.rc1
- update to 4.4.2.2-rc1
- remove no longer needed hacks
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=179542587073.1.7452672971354442195.rpms-rpm-61cb76acd653@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