On Aug 10, 2007, at 2:32 PM, Anders F Björklund wrote:
>
> There seems to be a power struggle between beecrypt and rpm,
> in who gets first to typedef the declaration of a "byte"...
>
Yep, been there ...
Nuking "byte" everywhere in rpm (there are some hash's in rpmio that
should
follow beecrypt, not rpm, coding conventions), and using "unsigned
char" is likely the
only way out.
Too bad: "byte" is short and sweet.
> As long as beecrypt is first, all is well. But when beecrypt
> is second, such as include rpmio_internal.h, then rpm loses:
>
> In file included from /opt/local/include/beecrypt/beecrypt.h:33,
> from ../rpmio/rpmio_internal.h:20,
> from RPM_Files.xs:11:
> /opt/local/include/beecrypt/api.h:66: error: redefinition of
> typedef 'byte'
> ../rpmio/rpmpgp.h:18: error: previous declaration of 'byte' was here
>
> As a workaround, I made sure that beecrypt was getting included.
> http://www.algonet.se/~afb/rpm/5.0/rpm-5.0-perl_beecrypt_api.patch
>
I'll likely check yr fix in today/tonight.
73 de Jeff
> --anders
>
> ______________________________________________________________________
> RPM Package Manager http://rpm5.org
> Developer Communication List rpm-devel@rpm5.org
- application/pkcs7-signature attachment: smime.p7s
Received on Fri Aug 10 20:53:06 2007