[Apt-Rpm] [PATCH]: rpm 5.0 support

Per Øyvind Karlsen pkarlsen at mandriva.com
Sun Mar 2 17:20:21 PST 2008


På Mandag 03 mars 2008 , 01:57:45 skrev Per Øyvind Karlsen:
> Hi!
>
> This patch is quite simple as the real work was rather done on a wrapper at
> rpm5.org upstream, so it basically mostly adds inclusion of this header
> before any other rpm headers. As you can see it will remove inclusion of
> rpmlib.h in some files, but this is only since the file gets included in
> another header included later and it's important that the rpm4compat.h
> header gets included before rpmlib.h. Also to ensure that RPM_VERSION is
> defined, config.h has been added where missing and needed as well.
>
> Finally there's a tiny bug fix where 'int' has been used in stead of
> 'int_32', this leads to problem with rpm 5.0 since unsigned int (uint32_t)
> are used in stead, so since int_32 gets typedef'd to uint32_t in
> rpm4compat.h...
>
> As I don't use apt-get myself, I haven't really tested apt-get with rpm 5.0
> besides getting it to build without warnings, but I would assume that it
> should work mostly okay, at least urpmi works just fine with this
> compatibility wrapper.. :)

grf, here's the correct patch :p

-- 
Regards,
Per Øyvind Karlsen
Mandriva Norway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: apt-rpm5.patch
Type: text/x-diff
Size: 3378 bytes
Desc: not available
URL: <http://lists.laiskiainen.org/pipermail/apt-rpm-laiskiainen.org/attachments/20080303/0839907a/attachment-0003.patch>


More information about the Apt-Rpm mailing list