From nobody Tue Sep 13 17:14:17 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 4MRqnk2jJZz4bvg7; Tue, 13 Sep 2022 17:14:18 +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 4MRqnk0zpjz3Ljh; Tue, 13 Sep 2022 17:14:18 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663089258; 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=KNPHsCxT/kdHBEX/rcgOf2UYl43SYI/u5K+XOd/W5Zg=; b=Q8Z7XFgLXXH1Vmt78f1gNpCUURbJ7z7Y0ceHNNkWyL/GMd9PDJi8L96m06nGjbYRSuAoPw uqSx2ITpoA3wEzJIyHhqNUuTLfpiiiI1zEbj7oC1GSaYk7N+e+6GGslbH35MK2Hdvr5qer OdEWLYijt4eo4PdigV2efzzG1oaV6y3Xvf49M6Fn72nxMYdKED5FCEQKb8egcOMvV0hQqI E+3JRjEozmX/jkyffXE1C68QAxQeEH9ezWnbJeCJWTWJ0lyTLoDNPig9jHQ4JP1TMlMFRG qp9LymM9bFDO/D8pr4umniMIPJPa7FPXUipbNiNwnnYA3sruSR10UDcnD0B1lg== 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 4MRqnj74fLzPdk; Tue, 13 Sep 2022 17:14:17 +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 28DHEHEL023697; Tue, 13 Sep 2022 17:14:17 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 28DHEHnP023696; Tue, 13 Sep 2022 17:14:17 GMT (envelope-from git) Date: Tue, 13 Sep 2022 17:14:17 GMT Message-Id: <202209131714.28DHEHnP023696@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: 9c508558960e - main - graphics/glvis: 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: 9c508558960ee6fc98e04b27ee079e6586ba1bd4 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663089258; 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=KNPHsCxT/kdHBEX/rcgOf2UYl43SYI/u5K+XOd/W5Zg=; b=KyjeR0jg0H9EQwI47qBeDvycYLVkwJ59QuGDyg+TUivkTJNwcQYbBSrl1kWsSKk5IzQW1C Ehz/7CN6UqlvF8/P/iXivjLz3e6c2B6bW0nlstJ3p9hNqltwW8SAco/g+2oohZAr9vTFEs TcY5xaypPHaCACL269RhIhvtKFKhzDfqiAVYavmXfad09995gbTSTncm76tD5PQqL9/dIa q1CNd/8LsMhxAXnuq997WSh0kp/Bah8rcTAzdfoBxzwokverJec2KcU2rLKoKVK+/C7zxX g7X/zgdLiI6Wju3cg5YHchvyoVRiyHAvWc5WYzldeC1aeF2/UmdsuAaUSI7e6Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1663089258; a=rsa-sha256; cv=none; b=uwpV4U+mNZaldqNymJ6oOA245X2afHSwe6iyn5c7AJjVlMm8VtMRmUsh+DeTKI8wpGvhEA uV7/AdtfbYikLrf4raJdto/lwgjytw3ByQH564x8hi3AIBGHgpu1zF0iFhrzs/2RvYFp07 dWr/jrs2PKSgbGufRtts/zfdme+CuD9bLdSCSW9RRrTBhevr6kYyD5DxYml5vyPqcS7F7L i6x/36syqVgPLDtbyyKWMECj7YrUvKQeFm3GeOzHDnwIk+brueLfJUfqdV88SGiOalpbI4 9AiOaPmj1Pv4WFyFcaYWfwEHWb/3MZMPQRxnpmhlj1+ua3m0l97nY3Duk3nXrg== 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=9c508558960ee6fc98e04b27ee079e6586ba1bd4 commit 9c508558960ee6fc98e04b27ee079e6586ba1bd4 Author: Piotr Kubaj AuthorDate: 2022-09-13 17:04:26 +0000 Commit: Piotr Kubaj CommitDate: 2022-09-13 17:04:26 +0000 graphics/glvis: fix build on big-endian architectures --- graphics/glvis/files/patch-lib_aux__vis.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/graphics/glvis/files/patch-lib_aux__vis.cpp b/graphics/glvis/files/patch-lib_aux__vis.cpp new file mode 100644 index 000000000000..a049d97c2e3c --- /dev/null +++ b/graphics/glvis/files/patch-lib_aux__vis.cpp @@ -0,0 +1,13 @@ +--- lib/aux_vis.cpp.orig 2022-09-11 23:06:14 UTC ++++ lib/aux_vis.cpp +@@ -822,8 +822,8 @@ const char *glvis_screenshot_ext = ".bmp"; + #if SDL_BYTEORDER == SDL_BIG_ENDIAN + Uint32 rmask = 0xff000000; + Uint32 gmask = 0x00ff0000; +-Uint32 bmask = 0x0000ff00: +- Uint32 amask = 0x000000ff; ++Uint32 bmask = 0x0000ff00; ++Uint32 amask = 0x000000ff; + #else // little endian, like x86 + Uint32 rmask = 0x000000ff; + Uint32 gmask = 0x0000ff00;