From 472f60bb616ad43a581e148d39b8b098e64f672b Mon Sep 17 00:00:00 2001 From: tv Date: Wed, 9 Nov 2011 13:02:30 +0000 Subject: add rpm-4.8 support (by Dexter Morgan on 2011-02) git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@146 971eb68f-4bfb-0310-8326-d2484c010a4c --- RPM4/NEWS | 1 + RPM4/src/RPM4.xs | 4 ++-- rpmconstant/rpmconstant.h | 1 - 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/RPM4/NEWS b/RPM4/NEWS index ef94b00..561d0dc 100644 --- a/RPM4/NEWS +++ b/RPM4/NEWS @@ -1 +1,2 @@ - add rpm-4.6 support (pixel, 2009-01-20) +- add rpm-4.8 support (Dexter Morgan, 2011-02) diff --git a/RPM4/src/RPM4.xs b/RPM4/src/RPM4.xs index 426d988..8b769b8 100644 --- a/RPM4/src/RPM4.xs +++ b/RPM4/src/RPM4.xs @@ -1805,7 +1805,7 @@ Ts_transrun(ts, callback, ...) PREINIT: int i; rpmprobFilterFlags probFilter = RPMPROB_FILTER_NONE; - rpmInstallInterfaceFlags install_flags = INSTALL_NONE; + rpmInstallFlags install_flags = INSTALL_NONE; rpmps ps; CODE: ts = rpmtsLink(ts, "RPM4 Db::transrun()"); @@ -2031,7 +2031,7 @@ Te_files(Te) PREINIT: rpmfi Files; PPCODE: - Files = rpmteFI(Te, RPMTAG_BASENAMES); + Files = rpmteFI(Te); if ((Files = rpmfiInit(Files, 0)) != NULL && rpmfiNext(Files) >= 0) { XPUSHs(sv_2mortal(sv_setref_pv(newSVpv("", 0), bless_rpmfi, Files))); #ifdef HDRPMMEM diff --git a/rpmconstant/rpmconstant.h b/rpmconstant/rpmconstant.h index b8cf4d3..c1fb569 100644 --- a/rpmconstant/rpmconstant.h +++ b/rpmconstant/rpmconstant.h @@ -32,7 +32,6 @@ #include #include #include -#include #include #include -- cgit v1.2.1