public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Mark Wielaard <mark@klomp.org>
To: git-commits@fedoraproject.org
Subject: [rpms/rpm] pmatilai-v6: Add fix for debugedit replace debug_line files.
Date: Mon, 23 Nov 2026 09:30:44 GMT	[thread overview]
Message-ID: <179542624433.1.12244090431782354194.rpms-rpm-03607fe128fe@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/rpm
Branch : pmatilai-v6
Commit : 03607fe128fe0743102ad97faeb2589138929941
Author : Mark Wielaard <mark@klomp.org>
Date   : 2017-03-16T22:27:59+01:00
Stats  : +18/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/rpm/c/03607fe128fe0743102ad97faeb2589138929941?branch=pmatilai-v6

Log:
Add fix for debugedit replace debug_line files.

---
diff --git a/0016-debugedit-replace-files.patch b/0016-debugedit-replace-files.patch
new file mode 100644
index 0000000..c1d5dcb
--- /dev/null
+++ b/0016-debugedit-replace-files.patch
@@ -0,0 +1,13 @@
+diff --git a/tools/debugedit.c b/tools/debugedit.c
+index 4798c63..87a423f 100644
+--- a/tools/debugedit.c
++++ b/tools/debugedit.c
+@@ -1185,7 +1185,7 @@ edit_dwarf2_line (DSO *dso)
+ 	    {
+ 	      const char *file = (const char *) optr;
+ 	      const char *file_path = NULL;
+-	      if (t->replace_dirs)
++	      if (t->replace_files)
+ 		{
+ 		  file_path = skip_dir_prefix (file, base_dir);
+ 		  if (file_path != NULL)

diff --git a/rpm.spec b/rpm.spec
index f346a70..34e46ce 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -29,7 +29,7 @@
 Summary: The RPM package management system
 Name: rpm
 Version: %{rpmver}
-Release: %{?snapver:0.%{snapver}.}9%{?dist}
+Release: %{?snapver:0.%{snapver}.}10%{?dist}
 Group: System Environment/Base
 Url: http://www.rpm.org/
 Source0: http://rpm.org/releases/%{srcdir}/%{name}-%{srcver}.tar.bz2
@@ -87,6 +87,7 @@ Patch261: 0012-generateBuildIDs-Don-t-warn-or-error-for-object-file.patch
 Patch262: 0013-missing_build_ids_terminate_build.patch
 Patch263: 0014-generateBuildIDs-Fix-error-handling.patch
 Patch264: 0015-reset-buildid-file-attrs.patch
+Patch265: 0016-debugedit-replace-files.patch
 
 # OpenSSL backend
 Patch300: 0001-Add-OpenSSL-support-for-digest-and-signatures.patch
@@ -591,6 +592,9 @@ exit 0
 %doc doc/librpm/html/*
 
 %changelog
+* Thu Mar 16 2017 Mark Wielaard <mjw@redhat.com> - 4.13.0.1-10
+- Add fix for debugedit replace debug_line files.
+
 * Thu Mar 16 2017 Igor Gnatenko <ignatenko@redhat.com> - 4.13.0.1-9
 - Switch to OpenSSL (RHBZ #1390624)
 

                 reply	other threads:[~2026-11-23  9:30 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=179542624433.1.12244090431782354194.rpms-rpm-03607fe128fe@fedoraproject.org \
    --to=mark@klomp.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