/[packages]/cauldron/perl-RPM4/current/SOURCES/RPM4-0.23-rpm48.patch
ViewVC logotype

Contents of /cauldron/perl-RPM4/current/SOURCES/RPM4-0.23-rpm48.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 48941 - (show annotations) (download)
Tue Feb 8 10:04:37 2011 UTC (13 years, 8 months ago) by dmorgan
File size: 1169 byte(s)
Add patch to build against new rpm 4.8
1 diff -ur RPM4-0.23.rpm46/src/RPM4.xs RPM4-0.23/src/RPM4.xs
2 --- RPM4-0.23.rpm46/src/RPM4.xs 2011-02-08 11:47:34.000000000 +0200
3 +++ RPM4-0.23/src/RPM4.xs 2011-02-08 11:51:56.000000000 +0200
4 @@ -1805,7 +1805,7 @@
5 PREINIT:
6 int i;
7 rpmprobFilterFlags probFilter = RPMPROB_FILTER_NONE;
8 - rpmInstallInterfaceFlags install_flags = INSTALL_NONE;
9 + rpmInstallFlags install_flags = INSTALL_NONE;
10 rpmps ps;
11 CODE:
12 ts = rpmtsLink(ts, "RPM4 Db::transrun()");
13 @@ -2031,7 +2031,7 @@
14 PREINIT:
15 rpmfi Files;
16 PPCODE:
17 - Files = rpmteFI(Te, RPMTAG_BASENAMES);
18 + Files = rpmteFI(Te);
19 if ((Files = rpmfiInit(Files, 0)) != NULL && rpmfiNext(Files) >= 0) {
20 XPUSHs(sv_2mortal(sv_setref_pv(newSVpv("", 0), bless_rpmfi, Files)));
21 #ifdef HDRPMMEM
22 diff -ur RPM4-0.23.rpm46/src/rpmconstant.h RPM4-0.23/src/rpmconstant.h
23 --- RPM4-0.23.rpm46/src/rpmconstant.h 2005-12-20 03:35:11.000000000 +0200
24 +++ RPM4-0.23/src/rpmconstant.h 2011-02-08 11:49:23.000000000 +0200
25 @@ -32,7 +32,6 @@
26 #include <rpm/rpmds.h>
27 #include <rpm/rpmfi.h>
28 #include <rpm/rpmpgp.h>
29 -#include <rpm/misc.h>
30 #include <rpm/rpmbuild.h>
31 #include <rpm/rpmlib.h>
32

  ViewVC Help
Powered by ViewVC 1.1.30