From nobody Mon Jun 19 05:40:42 2023 X-Original-To: dev-commits-ports-all@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 4QkzBg2FVrz4g5qC; Mon, 19 Jun 2023 05:40:43 +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 4QkzBf6d3Zz495J; Mon, 19 Jun 2023 05:40:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687153242; 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=slOKdNs8+FHjrv8XiNwhgqrrKXjE+9nS+b4iVr/Gv84=; b=vjVy9QxbHtN/E9MF0FpPmxnGgSRPGi5TLNSJ9J4WTYrKipPKF5t+QsUEDTzvCqQorx5DNO dhzHvW7eXsZLE/gOY+kQ6CzAGN7rIU8mAMKm8Ohvdryb6kh1+Ai/rupxKr8c/sc/GQnZGc 1V7x4jJHFZYSgyVHZ5gsGF84IK/f/3Nf50SZGMPX/3EQqdXzNH4Lwefo900NQ87jVrPV5K 8n/t4IHc8y7akO4UJOP3ac84r9t2+r69YorVht7CCQf8B+yKTeu5iqexoCqAUFGg3owfS1 BIPc7/vALmea1YXdsN5QBxo1oTscpA8HECveZCDHO56IbzUHluINB0OIg9045g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687153242; 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=slOKdNs8+FHjrv8XiNwhgqrrKXjE+9nS+b4iVr/Gv84=; b=CNhhmFlGCIIMeZCK17dvZVMGrxLhBToXrew9M0tMRRoHSNPTrsIJ3LPCr5fcx508mXk4np Jp7rE2a9p+FBQ9XUoHTEBD+KWqo2pQyMMwaMUaJjm2THCo96Y34V0uTm1a7jViXcSFtP+q Wywv8HYg7nLyRYLx2Od0RQNWe1mHcB5hK1JGltqIAFtruwzPSOBA/JVQaA+4DF2xdUXega 8q5+yapQg6T4htkGnRlViGnvoK0my1VxC+VRxTbH5y9p0MuIb2ZREMbhpkDimBRGGU9ilp 4fpNCz4uItFEL/get8a6rdsJxG/jNMERP4d9J9vqyEtqaiD6RtHNKy4A9DoEzA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687153242; a=rsa-sha256; cv=none; b=ISx7aQHr8Q0s/CYQg/H3WPtXkm+WkmyAzWJlAEhJeIT1BGjYQF6iTVxSLfSF61V3tQqvUd B3HXUo8nKmD6On2d2Qm0KaRM5Ch3tMeWHdq41GS7iXYvq8TtkWwSNLDz8VifBYpfyxHcOS 7v82jC5jzJZJpalAqhwwmdaQtHrigcNpjz1QcpkvSs/QbG/tYrdU0UXz/0wqQQAGWSLrAN k1N0IV/jdWgdaN0G9HrDudMIK+LJLZYl5zb5CNpaGDcI0hfbfZvwCmf4eP6hb7HrMIGgZn 0JatUni4mhsMhDd1TWzcEAiBhSiFoJYtJ5Wly1DeWKXCYRK2GhlLceQkGs2Rng== 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 4QkzBf2k6Gz14jy; Mon, 19 Jun 2023 05:40:42 +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 35J5egvv002732; Mon, 19 Jun 2023 05:40:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35J5egSj002731; Mon, 19 Jun 2023 05:40:42 GMT (envelope-from git) Date: Mon, 19 Jun 2023 05:40:42 GMT Message-Id: <202306190540.35J5egSj002731@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 3471c52e865c - main - science/segyio: Fix build on 14 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3471c52e865c96255cafac7b00d3998c69d0e2cb Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=3471c52e865c96255cafac7b00d3998c69d0e2cb commit 3471c52e865c96255cafac7b00d3998c69d0e2cb Author: Yuri Victorovich AuthorDate: 2023-06-19 05:08:54 +0000 Commit: Yuri Victorovich CommitDate: 2023-06-19 05:40:35 +0000 science/segyio: Fix build on 14 ... by using system functions instead of redefinitions of htobe..() and be..(). --- science/segyio/files/patch-lib_src_segy.c | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/science/segyio/files/patch-lib_src_segy.c b/science/segyio/files/patch-lib_src_segy.c new file mode 100644 index 000000000000..087d8a76074d --- /dev/null +++ b/science/segyio/files/patch-lib_src_segy.c @@ -0,0 +1,30 @@ +- prevent failures on 14 by using system functions instead of +- redefinitions of htobe..() and be..() + +--- lib/src/segy.c.orig 2023-06-19 05:03:27 UTC ++++ lib/src/segy.c +@@ -27,6 +27,8 @@ + #include + #include + ++#include ++ + #include + #include + +@@ -112,6 +114,7 @@ static int encode( char* dst, + ) + #endif // __GNUC__ + ++#if 0 // disable htobe.. and be.. functions in favor of the ones from #include 1 + static uint16_t htobe16( uint16_t v ) { + #if HOST_LSB + return bswap16(v); +@@ -143,6 +146,7 @@ static uint32_t be32toh( uint32_t v ) { + return v; + #endif + } ++#endif + + /* + * DEPRECATED