/[packages]/cauldron/abrt/current/SOURCES/abrt-1.0.8-rpm46.patch
ViewVC logotype

Contents of /cauldron/abrt/current/SOURCES/abrt-1.0.8-rpm46.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 21273 - (show annotations) (download)
Mon Jan 17 13:41:48 2011 UTC (10 years, 4 months ago) by blino
File size: 819 byte(s)
imported package abrt
1 From 16af665b49c1e8a8f286e3a125056e29d2f69360 Mon Sep 17 00:00:00 2001
2 From: Frederic Crozat <fcrozat@mandriva.com>
3 Date: Mon, 1 Mar 2010 15:17:23 +0100
4 Subject: [PATCH] fix build with rpm 4.6
5
6 ---
7 src/Daemon/RPM.cpp | 2 +-
8 1 files changed, 1 insertions(+), 1 deletions(-)
9
10 diff --git a/src/Daemon/RPM.cpp b/src/Daemon/RPM.cpp
11 index c40f9a0..2e18788 100644
12 --- a/src/Daemon/RPM.cpp
13 +++ b/src/Daemon/RPM.cpp
14 @@ -108,7 +108,7 @@ bool CheckHash(const char* pPackage, const char* pPath)
15 Header header = rpmdbNextIterator(iter);
16 if (header != NULL)
17 {
18 - rpmfi fi = rpmfiNew(ts, header, RPMTAG_BASENAMES, RPMFI_NOHEADER);
19 + rpmfi fi = rpmfiNew(ts, header, RPMTAG_BASENAMES, 0);
20 pgpHashAlgo hashAlgo;
21 std::string headerHash;
22 char computedHash[1024] = "";
23 --
24 1.7.0
25

  ViewVC Help
Powered by ViewVC 1.1.28