tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CMake help needed: graphics/openexr does not compile on big endian machines



On Thu, Sep 16, 2021 at 09:17:25PM +0200, Martin Husemann wrote:
 > #elif defined(__NetBSD__)
 > #include <sys/types.h>
 > #include <machine/bswap.h>
 > #if defined(__BSWAP_RENAME) && !defined(__bswap_32)
 > #define bswap_32(x) bswap32(x)
 > #endif

__BSWAP_RENAME appears to be ours, so this looks like someone looked
at our bswap.h and misunderstood the conditions.

 > ... but I have no CMake clue and no idea what this dance is about.

just patch it :-|

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index