From nobody Thu May 26 00:19:00 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id EF76C1AE2F15; Thu, 26 May 2022 00:19:00 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4L7pT06QLDz4kyF; Thu, 26 May 2022 00:19:00 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653524340; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Dd2kwjIsfxu/wRmV3cb3jEkAo8ZuGHB5KHGs1PFr6HE=; b=X9ZxbbhBb48PCdsvsIakZ+ka5GcETMMMBu7AKda8Ot2cmxAX6M3PPAFeq0Tk0/9xFvPlu0 COJJxPsrvwbMJRwGObr36OT7DVcvHDpG6uYglYTOmtkom21iV9tcuYEa1J3WU4/MvYjvWe Qb0P52fyilVyK1Umw/ZsyL48mRuIvL6NXVz63aHymfUIm8Qgue3+eN5+A8lTLxSO/9I/m6 czJdc2oukqX+N04geSZ6+KBHPLSB8//VQNRF5fkfFXSFBsQbOOWBj2fiuMkw2WLW7EFJae bL+seY6P2xBl7j6D9MvXYMnVq4bWOJOBNVA4fWnPBnf5EHfd9RCIuPlk8IRw8A== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B895923705; Thu, 26 May 2022 00:19:00 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 24Q0J0iR048078; Thu, 26 May 2022 00:19:00 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24Q0J0wV048077; Thu, 26 May 2022 00:19:00 GMT (envelope-from git) Date: Thu, 26 May 2022 00:19:00 GMT Message-Id: <202205260019.24Q0J0wV048077@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Piotr Kubaj Subject: git: 835d26dd3d7c - main - graphics/s2: fix build on big-endian List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: pkubaj X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 835d26dd3d7c88cd1f0bda17a50e569dddb12579 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653524340; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Dd2kwjIsfxu/wRmV3cb3jEkAo8ZuGHB5KHGs1PFr6HE=; b=fn/XEMEU+kBk0noh96Xa3EHJf+jg7bw+yptpaTF6MjK47vydeFJVZpTof3A98o1vqPVird rgMd82ekriVyACfHXjhe/0pz+GNN182B4yRUqETEcHJSj8n+jPnpZNMVNeYUf3FC8RVn/b LW22NLlKLlUJkSlNfefRaZ29XSo9dRh7WoH/605IW/eD0CdD46n1sG47VNXZtaJ2akCsXb oWnmo48EEP92PnV3nctGAs5s5bsbhucOX4GH63qI4zgyTTJqNIaSQ+zryIWR+T1CV1z3jC 0Onq8oW0FiqUT/bAUJPJ4uIQKJs9O5Ue1cET0ah8o1gAJbnn5f7fsi9GgoWKfA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1653524340; a=rsa-sha256; cv=none; b=qT3AKms7sshs5cpSlb6ew2WXAJGh3MK1K0jPeDOXDDvPb/Epz1rTVoxHIC1HlZyaTzmtn+ D1kGTSCTx8yTfrz1tBg1aBAyfjYPy8MZZabQ6dmuAFvJOoWi5PpFXAXAtwK9v9U/bLkV/+ 3uqUisrdqzpy518jicFuX64H7GRF3pdrvMqdnITY07EzEEGEf13IgBbJzIxOSEL2758CBY mNS5dpRjt/TfG1tGdea+Z4X1DhN4HhuFytA4F6eesVCn5SGJy5l+DJLgB2Vfycv17tDIhd OjuxbbMiX8M1bI9FpToW4soZ1PJ/9EIk0jluSga+dCEwGqKypv4HipoZgYHooA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=835d26dd3d7c88cd1f0bda17a50e569dddb12579 commit 835d26dd3d7c88cd1f0bda17a50e569dddb12579 Author: Piotr Kubaj AuthorDate: 2022-05-26 00:07:20 +0000 Commit: Piotr Kubaj CommitDate: 2022-05-26 00:07:20 +0000 graphics/s2: fix build on big-endian /usr/bin/c++ -DS2_USE_GFLAGS -DS2_USE_GLOG -Ds2_EXPORTS -I/wrkdirs/usr/ports/graphics/s2/work/s2geometry-0.10.0/src -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -mcpu=power7 -isystem /usr/local/include -std=c++11 -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -mcpu=power7 -isystem /usr/local/include -std=c++11 -fPIC -Wno-attributes -Wno-deprecated-declarations -pthread -std=c++11 -MD -MT CMakeFiles/s2.dir/src/s2/util/math/exactfloat/exactfloat.cc.o -MF CMakeFiles/s2.dir/src/s2/util/math/exactfloat/exactfloat.cc.o.d -o CMakeFiles/s2.dir/src/s2/util/math/exactfloat/exactfloat.cc.o -c /wrkdirs/usr/ports/graphics/s2/work/s2geometry-0.10.0/src/s2/util/math/exactfloat/exactfloat.cc /wrkdirs/usr/ports/graphics/s2/work/s2geometry-0.10.0/src/s2/util/math/exactfloat/exactfloat.cc:144:20: error: expected value in expression --- .../s2/files/patch-src_s2_util_math_exactfloat_exactfloat.cc | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/graphics/s2/files/patch-src_s2_util_math_exactfloat_exactfloat.cc b/graphics/s2/files/patch-src_s2_util_math_exactfloat_exactfloat.cc new file mode 100644 index 000000000000..fd6dfaec318c --- /dev/null +++ b/graphics/s2/files/patch-src_s2_util_math_exactfloat_exactfloat.cc @@ -0,0 +1,11 @@ +--- src/s2/util/math/exactfloat/exactfloat.cc.orig 2022-05-24 22:12:24 UTC ++++ src/s2/util/math/exactfloat/exactfloat.cc +@@ -141,7 +141,7 @@ inline static uint64 BN_ext_get_uint64(const BIGNUM* b + #ifdef IS_LITTLE_ENDIAN + S2_CHECK_EQ(BN_bn2lebinpad(bn, reinterpret_cast(&r), + sizeof(r)), sizeof(r)); +-#elif IS_BIG_ENDIAN ++#elif defined(IS_BIG_ENDIAN) + S2_CHECK_EQ(BN_bn2binpad(bn, reinterpret_cast(&r), + sizeof(r)), sizeof(r)); + #else