Re: [big-endian] unbreak graphics/webp-pixbuf-loader

2022-09-22 Thread Jeremie Courreges-Anglas
On Wed, Sep 21 2022, George Koehler wrote: > On Thu, 22 Sep 2022 12:28:56 +1000 > Jonathan Gray wrote: > >> On Wed, Sep 21, 2022 at 10:13:44PM -0400, George Koehler wrote: >> This uses the compiler builtin __BYTE_ORDER__ instead of endian.h >> BYTE_ORDER. >> >> Both could be avoided by using hto

Re: [big-endian] unbreak graphics/webp-pixbuf-loader

2022-09-21 Thread Jonathan Gray
On Wed, Sep 21, 2022 at 11:18:17PM -0400, George Koehler wrote: > On Thu, 22 Sep 2022 12:28:56 +1000 > Jonathan Gray wrote: > > > On Wed, Sep 21, 2022 at 10:13:44PM -0400, George Koehler wrote: > > This uses the compiler builtin __BYTE_ORDER__ instead of endian.h > > BYTE_ORDER. > > > > Both cou

Re: [big-endian] unbreak graphics/webp-pixbuf-loader

2022-09-21 Thread George Koehler
On Thu, 22 Sep 2022 12:28:56 +1000 Jonathan Gray wrote: > On Wed, Sep 21, 2022 at 10:13:44PM -0400, George Koehler wrote: > This uses the compiler builtin __BYTE_ORDER__ instead of endian.h > BYTE_ORDER. > > Both could be avoided by using htole32() instead. Then the two > ifdefs could be remove

Re: [big-endian] unbreak graphics/webp-pixbuf-loader

2022-09-21 Thread Jonathan Gray
On Wed, Sep 21, 2022 at 10:13:44PM -0400, George Koehler wrote: > graphics/webp-pixbuf-loader failed in the ongoing powerpc bulk, but > this looks easy to fix. OpenBSD doesn't have , so use > (on big-endian platforms like powerpc and sparc64). With > this patch, "make package" works and "make te

[big-endian] unbreak graphics/webp-pixbuf-loader

2022-09-21 Thread George Koehler
graphics/webp-pixbuf-loader failed in the ongoing powerpc bulk, but this looks easy to fix. OpenBSD doesn't have , so use (on big-endian platforms like powerpc and sparc64). With this patch, "make package" works and "make test" passes on powerpc. ok to commit? ../webp-pixbuf-loader-0.0.6/io-we