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: Fix type mismatch causing "interesting" effects on ppc64
Date: Mon, 23 Nov 2026 09:24:59 GMT [thread overview]
Message-ID: <179542589981.1.4562571454748923701.rpms-rpm-ac1dcaabc3ff@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rpm
Branch : pmatilai-v6
Commit : ac1dcaabc3ff633223402d87874000254e0f1b6d
Author : Panu Matilainen <pmatilai@fedoraproject.org>
Date : 2008-07-12T15:02:42+00:00
Stats : +21/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/rpm/c/ac1dcaabc3ff633223402d87874000254e0f1b6d?branch=pmatilai-v6
Log:
Fix type mismatch causing "interesting" effects on ppc64
- patch already upstreamed, not worth pushing entire new snapshot tarball..
---
diff --git a/rpm-4.5.90-digestlen.patch b/rpm-4.5.90-digestlen.patch
new file mode 100644
index 0000000..5aa0fd8
--- /dev/null
+++ b/rpm-4.5.90-digestlen.patch
@@ -0,0 +1,13 @@
+diff --git a/rpmio/digest.c b/rpmio/digest.c
+index c360919..64b678b 100644
+--- a/rpmio/digest.c
++++ b/rpmio/digest.c
+@@ -123,7 +123,7 @@ int
+ rpmDigestFinal(DIGEST_CTX ctx, void ** datap, size_t *lenp, int asAscii)
+ {
+ unsigned char * digest;
+- size_t digestlen;
++ unsigned int digestlen;
+
+ if (ctx == NULL)
+ return -1;
diff --git a/rpm.spec b/rpm.spec
index bdd76ef..5141eaa 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -18,7 +18,7 @@
Summary: The RPM package management system
Name: rpm
Version: %{rpmver}
-Release: 0.%{snapver}.5
+Release: 0.%{snapver}.6
Group: System Environment/Base
Url: http://www.rpm.org/
Source0: http://rpm.org/releases/testing/%{name}-%{srcver}.tar.bz2
@@ -31,6 +31,8 @@ Patch1: rpm-4.5.90-pkgconfig-path.patch
# XXX only create provides for pkgconfig and libtool initially
Patch100: rpm-4.6.x-no-pkgconfig-reqs.patch
+Patch200: rpm-4.5.90-digestlen.patch
+
# Partially GPL/LGPL dual-licensed and some bits with BSD
# SourceLicense: (GPLv2+ and LGPLv2+ with exceptions) and BSD
License: GPLv2+
@@ -156,6 +158,7 @@ that will manipulate RPM packages and databases.
%patch0 -p1 -b .devel-autodep
%patch1 -p1 -b .pkgconfig-path
%patch100 -p1 -b .pkgconfig-deps
+%patch200 -p1 -b .diglen
%if %{with int_bdb}
ln -s db-%{bdbver} db
@@ -331,6 +334,10 @@ exit 0
%doc doc/librpm/html/*
%changelog
+* Sat Jul 12 2008 Panu Matilainen <pmatilai@redhat.com>
+- 4.5.90-0.git8426.6
+- fix type mismatch causing funky breakage on ppc64
+
* Fri Jul 11 2008 Panu Matilainen <pmatilai@redhat.com>
- 4.5.90-0.git8426.5
- flip back to external bdb
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=179542589981.1.4562571454748923701.rpms-rpm-ac1dcaabc3ff@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