From nobody Sun Oct 01 09:39:28 2023 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 4RyzZ82vq7z4wXqW; Sun, 1 Oct 2023 09:39:28 +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 4RyzZ82Twyz3Xfx; Sun, 1 Oct 2023 09:39:28 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696153168; 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=b3v/1ffXbjiVFc0H5idTuHyQ/uAWmGA01PYCbl5hdvY=; b=rcaFSTmsrUwfbCAOmwwtmo+ueK9xUOFmUx5l0hq5z+u/DLZhZ0K50tdglBwFeXeT1m7Gco l/zkxlNstPeSYS/7v4CyFWj6UvyHPo41IAnx+7fbaG7tLPd2a92zRRjjwYwTEHPIUPtE8i VydhKKmB2AvJ3iDoRGyGLxD0KUwJe/M7R00GS7dv2byOnghtoYEj6GQxqhTAHN5kRiVJG0 GR8Yl3HtZa2FtrVoWv8mHe4ubgt7OBYhLPUw1/yhr5N7gWymyHE/PIkHdwe3HJWRE0iOMa Tbt9+o8Ci3vvtgL0oLx0Hf0+8BhlHlkiKrfKlJBGd8JcYIvi62WGnK4bNwq6GQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1696153168; a=rsa-sha256; cv=none; b=W8YWxjglqLXtK0sgualypEmBAYewA32xFXLA20KljEghx8leSJok+WnkBxREIEYLn9b3mr xSse6OWWHXwxGsPf8u3haUnaO6qcmUL1i742xLK9twxw/rVQlvexco2fcxJ5tzOX1cP75P paxcl7BlmyRfKN4j3GtjujGYoYDe7s4m4HRRZiTA0RBvu6mMfp8+FekzX6R2szXXticsXJ sF7M2XWzSIdYT9iMto0zieL9Qh2f+/JvQrSNOYWI4WzoQ6dr0D73RSerrhwDDqwJjjspcX vSXL+T9oBbyXfSMx6o+BMK77laPPjVynzpRAEntz23F65I9f0ZH9qEMrdwUJ9g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696153168; 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=b3v/1ffXbjiVFc0H5idTuHyQ/uAWmGA01PYCbl5hdvY=; b=TYw0TyZuXH3l5MwpNZG+X+6dJkSXkTFVHhLKLpUDJyxHY2wazyDrbWMRrQXlh+MHmOmCXD nhSRLNl6WOIwsaJDVImP90gt4R4PEB0FfutTCsCMXA1VJDFxJTV0TuT76h91ry0okT+GuF 3mcgG0BQI2dgtgWwNKlG2t378zv+05oAky51llYrKltQvNxbQYgSM1Ad/0J0duVrayLgAX 2+3CVTqSuAY9kmj9cDi6t842d4EW99L+8C9siY6O+rfKc8xnm2ULdQFQX6J5aGIGb/3QFl YFmDBJg3Q1iLHlHIxS4eQJKrvlIaLZHsrCwVj+PZp99MWnp9k010xz8v8H9MgQ== 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 4RyzZ81bLSz8qB; Sun, 1 Oct 2023 09:39:28 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3919dS8q009142; Sun, 1 Oct 2023 09:39:28 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3919dS8B009139; Sun, 1 Oct 2023 09:39:28 GMT (envelope-from git) Date: Sun, 1 Oct 2023 09:39:28 GMT Message-Id: <202310010939.3919dS8B009139@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: cef38de2695b - main - graphics/cptutils: fix build on big-endian architectures 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: cef38de2695ba6494fcc5260a412dd81d0b4643a Auto-Submitted: auto-generated The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=cef38de2695ba6494fcc5260a412dd81d0b4643a commit cef38de2695ba6494fcc5260a412dd81d0b4643a Author: Piotr Kubaj AuthorDate: 2023-09-29 18:24:02 +0000 Commit: Piotr Kubaj CommitDate: 2023-10-01 09:39:17 +0000 graphics/cptutils: fix build on big-endian architectures grd3-write.c:66:12: error: use of undeclared identifier 'uint16_t' u[i] = htobe16(grd3->ver[i]); ^ --- graphics/cptutils/files/patch-src_lib_grd3-write.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/graphics/cptutils/files/patch-src_lib_grd3-write.c b/graphics/cptutils/files/patch-src_lib_grd3-write.c new file mode 100644 index 000000000000..8b1b970aa4c5 --- /dev/null +++ b/graphics/cptutils/files/patch-src_lib_grd3-write.c @@ -0,0 +1,11 @@ +--- src/lib/grd3-write.c.orig 2023-09-29 18:20:02 UTC ++++ src/lib/grd3-write.c +@@ -4,6 +4,8 @@ + + #include "cptutils/grd3-write.h" + ++#include ++ + #if defined HAVE_ENDIAN_H + #include + #elif defined HAVE_SYS_ENDIAN_H