From owner-dev-commits-ports-all@freebsd.org Thu Sep 30 18:50:24 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3DA756B6135; Thu, 30 Sep 2021 18:50:24 +0000 (UTC) (envelope-from pkubaj@anongoth.pl) Received: from mail.anongoth.pl (mail.anongoth.pl [46.248.190.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X448 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "anongoth.pl", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HL2PC1BkPz4hk3; Thu, 30 Sep 2021 18:50:23 +0000 (UTC) (envelope-from pkubaj@anongoth.pl) Received: from anongoth.pl (unknown [192.168.1.15]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: pkubaj@anongoth.pl) by mail.anongoth.pl (Postfix) with ESMTPSA id 447CAEC5AF; Thu, 30 Sep 2021 20:50:12 +0200 (CEST) Date: Thu, 30 Sep 2021 20:50:10 +0200 From: Piotr Kubaj To: Jan Beich Cc: ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org Subject: Re: git: fc75da3a3b2a - main - graphics/libjxl: fix build on powerpc64* Message-ID: References: <202109301550.18UFoo8j096475__2724.79643333412$1633017067$gmane$org@gitrepo.freebsd.org> <5yuh-c3nk-wny@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="gOLrRZmXIpyQb2hJ" Content-Disposition: inline In-Reply-To: <5yuh-c3nk-wny@FreeBSD.org> X-Rspamd-Queue-Id: 4HL2PC1BkPz4hk3 X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.40 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEFALL_USER(0.00)[pkubaj]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; MID_RHS_NOT_FQDN(0.50)[]; ARC_NA(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:46.248.190.61]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_SPAM_SHORT(1.00)[1.000]; DMARC_POLICY_ALLOW(-0.50)[anongoth.pl,reject]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:47544, ipnet:46.248.160.0/19, country:PL]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[dev-commits-ports-all,dev-commits-ports-main] X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Sep 2021 18:50:24 -0000 --gOLrRZmXIpyQb2hJ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 21-09-30 20:35:43, Jan Beich wrote: > Piotr Kubaj writes: >=20 > > The branch main has been updated by pkubaj: > > > > URL: https://cgit.FreeBSD.org/ports/commit/?id=3Dfc75da3a3b2adf1148010f= e1f3cd75528387bdcc > > > > commit fc75da3a3b2adf1148010fe1f3cd75528387bdcc > > Author: Piotr Kubaj > > AuthorDate: 2021-09-30 15:48:31 +0000 > > Commit: Piotr Kubaj > > CommitDate: 2021-09-30 15:48:31 +0000 > > > > graphics/libjxl: fix build on powerpc64* > > =20 > > Add FreeBSD variants for linux code. > > =20 > > The include in cpu.cc is not actually necessary, so I did not inclu= de anything for FreeBSD. >=20 > Can you submit the fix upstream or replace downstream (the port) fix > with upstream one? >=20 > See https://github.com/google/highway/commit/3769cb2c464c Ok, I will later. >=20 > > ++#if linux >=20 > Why not __linux__ (with underscores)? linux is also correct: pkubajx@pkubajx-mobl1:~$ echo | cc -dM -E - | grep linux #define __linux 1 #define __gnu_linux__ 1 #define linux 1 #define __linux__ 1 --gOLrRZmXIpyQb2hJ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEycyIeNkkgohzsoorelmbhSCDnJ0FAmFWBuIACgkQelmbhSCD nJ0puA/+MA38TVlE/W95FhX6dvKyvqLqRJVNGMr+6D82yQANyRMwTYqflU2lhmSb QRaTu/kJge8+bnxTX5mjwqxp3A4/8uXzpWK3seodUtNPAqSXk8cLxo2uf7p9CGw0 HPc/UglgZny5r9YlFy/UJgdQ1LoNU9onXxxsLvHHk+6i7FX0Ai3T373bzSC/SyW/ sTT5Y3A3QfAHzR145X5BGpEO2a9wcqvN+e1ZNMbY1t4mvfWZE5kAqTaaCKh1Z1Xc Q7K0OJop78KybuVx2ZAoSLrWOscPlRH1y+iMPsqHUUqHHnWL71219Kr5dw+AgsrW YLuOv+KuQMW3GAuKcZqFhDwUZe+SL6zzXq2Yj1R9pBU9puZbb2XvqxET4N3MhPXG 4zaPsTdMfaqFnUXfADY7P5i2LVKiBkgqZEf4QO5rdVOGD2OpKmTw2nlqOmPnvcHv 6B+6V7TZrUsieopgwM2F+uDSvZQJ6BoGwlnbYV94LTHS/FnFvdVg+QJko2VuFXjw Z6Z4fAW5I1iZouWM+a8kuZe6cc1WgavVTZ/NkS5YM99xNm0IRJ/NG7YyZoLeSDry 9K/Kd/DfUimlB9HNbdkgSIUPm0/JBOwR4abnzarD/1TSTOYCk/0FX/mF0DwlOVYe QdLmaGEqXLlzjgJJExeYpspnS7fFG4meJPLKZuqDMpInNLxA9FU= =0ZgU -----END PGP SIGNATURE----- --gOLrRZmXIpyQb2hJ--