git: fc75da3a3b2a - main - graphics/libjxl: fix build on powerpc64*
Piotr Kubaj
pkubaj at anongoth.pl
Thu Sep 30 18:50:24 UTC 2021
On 21-09-30 20:35:43, Jan Beich wrote:
> Piotr Kubaj <pkubaj at FreeBSD.org> writes:
>
> > The branch main has been updated by pkubaj:
> >
> > URL: https://cgit.FreeBSD.org/ports/commit/?id=fc75da3a3b2adf1148010fe1f3cd75528387bdcc
> >
> > commit fc75da3a3b2adf1148010fe1f3cd75528387bdcc
> > Author: Piotr Kubaj <pkubaj at FreeBSD.org>
> > AuthorDate: 2021-09-30 15:48:31 +0000
> > Commit: Piotr Kubaj <pkubaj at FreeBSD.org>
> > CommitDate: 2021-09-30 15:48:31 +0000
> >
> > graphics/libjxl: fix build on powerpc64*
> >
> > Add FreeBSD variants for linux code.
> >
> > The include in cpu.cc is not actually necessary, so I did not include anything for FreeBSD.
>
> Can you submit the fix upstream or replace downstream (the port) fix
> with upstream one?
>
> See https://github.com/google/highway/commit/3769cb2c464c
Ok, I will later.
>
> > ++#if linux
>
> Why not __linux__ (with underscores)?
linux is also correct:
pkubajx at pkubajx-mobl1:~$ echo | cc -dM -E - | grep linux
#define __linux 1
#define __gnu_linux__ 1
#define linux 1
#define __linux__ 1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/dev-commits-ports-all/attachments/20210930/7cc04017/attachment.sig>
More information about the dev-commits-ports-all
mailing list