public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Kevin Buettner <kevinb@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/gdb] gdb-17.2-rebase-f44: More tweaks to gdb-6.6-buildid-locate-rpm.patch
Date: Sun, 28 Jun 2026 00:00:56 GMT	[thread overview]
Message-ID: <178260485634.1.8050064322325852204.rpms-gdb-8d8fb49148c9@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/gdb
            Branch : gdb-17.2-rebase-f44
            Commit : 8d8fb49148c9741066d80ab308c4575fa96f9bab
            Author : Kevin Buettner <kevinb@redhat.com>
            Date   : 2023-01-23T20:12:05-07:00
            Stats  : +7/-3 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/gdb/c/8d8fb49148c9741066d80ab308c4575fa96f9bab?branch=gdb-17.2-rebase-f44

            Log:
            More tweaks to gdb-6.6-buildid-locate-rpm.patch

...in which rpmTag is replaced with rpmDbiTagVal.

---
diff --git a/gdb-6.6-buildid-locate.patch b/gdb-6.6-buildid-locate.patch
index afe4e58..424681c 100644
--- a/gdb-6.6-buildid-locate.patch
+++ b/gdb-6.6-buildid-locate.patch
@@ -787,10 +787,10 @@ diff --git a/gdb/build-id.c b/gdb/build-id.c
 +  static rpmts (*rpmtsCreate_p) (void);
 +  extern rpmts rpmtsFree(rpmts ts);
 +  static rpmts (*rpmtsFree_p) (rpmts ts);
-+  extern rpmdbMatchIterator rpmtsInitIterator(const rpmts ts, rpmTag rpmtag,
++  extern rpmdbMatchIterator rpmtsInitIterator(const rpmts ts, rpmDbiTagVal rpmtag,
 +                                              const void * keyp, size_t keylen);
 +  static rpmdbMatchIterator (*rpmtsInitIterator_p) (const rpmts ts,
-+						    rpmTag rpmtag,
++						    rpmDbiTagVal rpmtag,
 +						    const void *keyp,
 +						    size_t keylen);
 +#else	/* !DLOPEN_LIBRPM */
@@ -845,7 +845,7 @@ diff --git a/gdb/build-id.c b/gdb/build-id.c
 +	      && (rpmdbNextIterator_p = (Header (*) (rpmdbMatchIterator mi)) dlsym (h, "rpmdbNextIterator"))
 +	      && (rpmtsCreate_p = (rpmts (*) (void)) dlsym (h, "rpmtsCreate"))
 +	      && (rpmtsFree_p = (rpmts (*) (rpmts ts)) dlsym (h, "rpmtsFree"))
-+	      && (rpmtsInitIterator_p = (rpmdbMatchIterator (*) (const rpmts ts, rpmTag rpmtag, const void *keyp, size_t keylen)) dlsym (h, "rpmtsInitIterator"))))
++	      && (rpmtsInitIterator_p = (rpmdbMatchIterator (*) (const rpmts ts, rpmDbiTagVal rpmtag, const void *keyp, size_t keylen)) dlsym (h, "rpmtsInitIterator"))))
 +	  {
 +	    warning (_("Opened library \"%s\" is incompatible (%s), "
 +		      "missing debuginfos notifications will not be displayed"),

diff --git a/gdb.spec b/gdb.spec
index b2093bd..dd5edff 100644
--- a/gdb.spec
+++ b/gdb.spec
@@ -1190,6 +1190,10 @@ fi
 %endif
 
 %changelog
+* Mon Jan 23 2023 Kevin Buettner <kevinb@redhat.com>
+- More tweaks to gdb-6.6-buildid-locate-rpm.patch, in which rpmTag
+  is replaced with rpmDbiTagVal.
+
 * Mon Jan 23 2023 Keith Seitz <keiths@redhat.com> - 12.1-14
   From Sergey Mende:
 - Backport upstream patch "gdb: call check_typedef at beginning of

                 reply	other threads:[~2026-06-28  0:00 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=178260485634.1.8050064322325852204.rpms-gdb-8d8fb49148c9@fedoraproject.org \
    --to=kevinb@redhat.com \
    --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