]> git.pld-linux.org Git - packages/libzypp.git/blob - libzypp-rpm5.patch
45919b77ce1665468132a4d82e10c0e0b7330a9a
[packages/libzypp.git] / libzypp-rpm5.patch
1 --- libzypp-14.36.0/zypp/target/rpm/BinHeader.h.orig    2015-02-09 16:07:05.000000000 +0100
2 +++ libzypp-14.36.0/zypp/target/rpm/BinHeader.h 2015-02-17 20:28:45.204574339 +0100
3 @@ -110,7 +110,7 @@
4  {
5    public:
6      intList()
7 -      : _type( RPM_NULL_TYPE )
8 +      : _type( static_cast<rpmTagType>(RPM_NULL_TYPE) )
9      {}
10  
11      bool empty() const
12 --- libzypp-14.36.0/zypp/target/rpm/librpm.h.orig       2015-02-09 16:07:05.000000000 +0100
13 +++ libzypp-14.36.0/zypp/target/rpm/librpm.h    2015-02-18 18:24:23.831261616 +0100
14 @@ -15,6 +15,8 @@
15  #ifdef _RPM_5
16  // needs to be outside 'extern "C"'
17  #include <rpm/rpm4compat.h>
18 +#define _RPMVSF_NOSIGNATURES (RPMVSF_NODSAHEADER | RPMVSF_NORSAHEADER | RPMVSF_NODSA | RPMVSF_NORSA)
19 +#define        _RPMVSF_NODIGESTS (RPMVSF_NOSHA1HEADER | RPMVSF_NOMD5HEADER | RPMVSF_NOSHA1 | RPMVSF_NOMD5)
20  #endif // _RPM_5
21  
22  extern "C"
23 --- libzypp-14.36.0/zypp/target/rpm/librpmDb.cc.orig    2015-02-09 16:07:05.000000000 +0100
24 +++ libzypp-14.36.0/zypp/target/rpm/librpmDb.cc 2015-02-18 19:50:12.301045536 +0100
25 @@ -101,7 +101,7 @@
26    {
27      if ( _ts )
28      {
29 -      ::rpmtsFree(_ts);
30 +      rpmtsFree(_ts);
31      }
32    }
33  };
34 @@ -679,7 +679,7 @@
35      if ( ! create( RPMDBI_PACKAGES ) )
36        return false;
37  #warning TESTCASE: rpmdbAppendIterator and (non)sequential access?
38 -#ifdef RPMFILEITERMAX  // since rpm.4.12
39 +#if defined(_RPM_5) || defined(RPMFILEITERMAX) // since rpm.4.12
40      ::rpmdbAppendIterator( _mi, (const unsigned *)&off_r, 1 );
41  #else
42      ::rpmdbAppendIterator( _mi, &off_r, 1 );
This page took 0.038057 seconds and 2 git commands to generate.