On Sat, Jun 25, 2011 at 10:39 AM, Anders F Björklund <firstname.lastname@example.org> wrote:
> Miller, Vincent (Rick) wrote:
> > I'm compiling RPM 5.3.11 on FreeBSD 8.2-RELEASE and encountered an error
> that is more fundamental than previous errors. dbconvert.c makes calls to
> various hto*() functions, which are not defined in FreeBSD's libc.
> See http://rpm5.org/cvs/chngview?cn=16081 for patch, you can backport that
> to the rpm-5_3 branch.
> > Why is the compiler unable to reference the bswap32 definition in
> sys/endian.h? Is there a way to force this or is this a sign that
> installing RPM5 onto FreeBSD will be more of a pain than I had initially
> Maybe the dbconvert.c #define for bswap32 is colliding with it ? RPM5
> should install on FreeBSD...
> That is: HEAD should be working, I don't think anyone has backported to
> 5.3.x or 5.4.x due to lack of interest... Most "users" are on 5.0 - 5.2,
Your patch was now merged in rpm 5.3.x and rpm 5.4.x.
Received on Tue Jun 28 15:40:59 2011