Patches for rpm 4.4.6
Panu Matilainen
pmatilai at laiskiainen.org
Tue Jul 10 11:56:22 PDT 2007
On Tue, 10 Jul 2007, João Abecasis wrote:
> Hi!
>
> I'm attaching a couple of patches that get apt compiling/working with
> rpm 4.4.6 (tested on Mandriva 2007.1).
>
> The SUGGESTSNAME patch fixes a typo introduced while refactoring...
> here, it seems:
>
> http://apt-rpm.org/scm/?p=apt.git;a=commit;h=e49a75b11b8e7931c3f5eb7390f053e6de0ac874
>
> The rpmps patch fixes changes in the API for rpmtsProblems, introduced
> upstream in rpm version 4.4.6 (I verified this was the point of
> change).
>
> Both patches were based on Panu's earlier 4.5-dirtyhack, but I think
> I've cleaned up the "dirty" part of it ;-) This could also get things
> going for rpm 4.5, but I didn't really test it there.
>
> Can these be integrated?
Thanks, both applied. I modified the rpmps patch a bit, as actually
rpmpsNumProblems() exists all the way back to rpm 4.1, I've just missed
that part in the API all these years. A typical case of something needing
to break first before noticing :)
- Panu -
More information about the Apt-Rpm
mailing list