public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jindrich Novy <jnovy@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/rpm] pmatilai-v6: - include rpmfileutil.h from rpmmacro.h, unbreaks net-snmp (#473420)
Date: Mon, 23 Nov 2026 09:25:20 GMT	[thread overview]
Message-ID: <179542592070.1.17831186928422456220.rpms-rpm-e603aec249be@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/rpm
Branch : pmatilai-v6
Commit : e603aec249be639ca8cc8c5bb7265284a404ad6a
Author : Jindrich Novy <jnovy@fedoraproject.org>
Date   : 2008-12-01T11:45:31+00:00
Stats  : +27/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/rpm/c/e603aec249be639ca8cc8c5bb7265284a404ad6a?branch=pmatilai-v6

Log:
- include rpmfileutil.h from rpmmacro.h, unbreaks net-snmp (#473420)

---
diff --git a/rpm-4.5.90-rpmfileutil.patch b/rpm-4.5.90-rpmfileutil.patch
new file mode 100644
index 0000000..db2976e
--- /dev/null
+++ b/rpm-4.5.90-rpmfileutil.patch
@@ -0,0 +1,20 @@
+commit 0b80d38f32b438d81d47fc61074b1f163518d68f
+Author: Jindrich Novy <jnovy@redhat.com>
+Date:   Mon Dec 1 12:16:56 2008 +0100
+
+    Include rpmfileutil.h from rpmmacro.h so that
+    prototype for rpmGenPath() is included (rhbz#473420)
+    - unbreaks net-snmp
+
+diff --git a/rpmio/rpmmacro.h b/rpmio/rpmmacro.h
+index 7391efd..765c78c 100644
+--- a/rpmio/rpmmacro.h
++++ b/rpmio/rpmmacro.h
+@@ -9,6 +9,7 @@
+ #include <stddef.h>
+ 
+ #include <rpm/rpmutil.h>
++#include <rpm/rpmfileutil.h>
+ 
+ #ifdef __cplusplus
+ extern "C" {

diff --git a/rpm.spec b/rpm.spec
index 62823dc..c7fb2f1 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -18,7 +18,7 @@
 Summary: The RPM package management system
 Name: rpm
 Version: %{rpmver}
-Release: 0.%{snapver}.4
+Release: 0.%{snapver}.5
 Group: System Environment/Base
 Url: http://www.rpm.org/
 Source0: http://rpm.org/releases/testing/%{name}-%{srcver}.tar.bz2
@@ -29,6 +29,7 @@ Source1: db-%{bdbver}.tar.gz
 Patch0: rpm-4.5.90-devel-autodep.patch
 Patch1: rpm-4.5.90-pkgconfig-path.patch
 Patch2: rpm-4.5.90-gstreamer-provides.patch
+Patch3: rpm-4.5.90-rpmfileutil.patch
 
 # Patches already in upstream
 
@@ -162,6 +163,7 @@ that will manipulate RPM packages and databases.
 %patch0 -p1 -b .devel-autodep
 %patch1 -p1 -b .pkgconfig-path
 %patch2 -p1 -b .gstreamer-prov
+%patch3 -p1 -b .rpmfileutil
 
 # needs a bit of upstream love first...
 #%patch300 -p1 -b .posttrans
@@ -352,6 +354,10 @@ exit 0
 %doc doc/librpm/html/*
 
 %changelog
+* Mon Dec 01 2008 Jindrich Novy <jnovy@redhat.com>
+- include rpmfileutil.h from rpmmacro.h, unbreaks
+  net-snmp (#473420)
+
 * Sun Nov 30 2008 Panu Matilainen <pmatilai@redhat.com>
 - rebuild for python 2.6
 

                 reply	other threads:[~2026-11-23  9:25 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=179542592070.1.17831186928422456220.rpms-rpm-e603aec249be@fedoraproject.org \
    --to=jnovy@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