From nobody Thu Jun 15 09:40:29 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 4QhcjB0Mrgz4d9X1; Thu, 15 Jun 2023 09:40:30 +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 4Qhcj96bchz3lrw; Thu, 15 Jun 2023 09:40:29 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686822029; 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=V2DqKbi9XaT790aAYpyOY4ntycjAyKqQtqtxXFgtIx0=; b=lcJpzNQ5UVlJQgQnXVpD6/muSMjv6iM18SlISkbseDGWjF0hpr0JsXOGlI6v2hces4ohkD 3Py2OhT7hMpxt/nnUbYcg6BNgR189x3B5ZtX5uWmCRWmlCH+KWXOwgZPUdCUlWlubdzVuz IkXu2znhCe8NEECcmqUjhfk5fxJNmyrbtwX2mIGM0iLZf+fhKD2GoruNRCNnQ8GUoU9bdu GvLKm2YqH6XReAsoCrqGf0ITFnxBv3UtE88WmnBKNGMhivkF8s8YWaTwzkych4nFlBSDLD JwWclGF4ZopuU8tYxEcT2umxAXwCySVH7mVwsIDtuH/OiirLwQ2RTgL1slazyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686822029; 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=V2DqKbi9XaT790aAYpyOY4ntycjAyKqQtqtxXFgtIx0=; b=H1xy9cYwe5nPycjvV6RFd2WA9BJCx0wiOsWQRHgFg25SsLF3+t+M/xUDL5/gJYU8VbOHhh IqxRMucySZ2c5HvoV9R74Yp6mBzT7mftxjQ19TjYhcUFzPJysNgO7Wf+psLVehBMqur2Uo NREeU2PEdlm4XHLYyqy4k9ih8bipxdzZIHYTNvujqyDtQnYzv8dh3NKWhE9Awpn/xNkpMj dKF9fLbs/oOz1ShL5LkB0f6yHibr9VapGfPYZJoFWshwgkhEEjzW+ECF4e0wYpA3BAEAaH ks0vb8+4rSY8Uacm6tWHQ2FjqeRhv9/GVwjAon0xDMo2DVrTGAKt/aDbf/rcUw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1686822029; a=rsa-sha256; cv=none; b=upnBEHlpB44HpTxkBoT7gMycAg4mmkhA+fOtQ68wMQ6lC/gwdU6nnTyE3+T64aF7b3Ji11 kBqZrO7bqLmRP9j0xoRXkoyL/6VT0gKYFHKyW7bLdCLlbdhvqqz2K6yRhBu7SUKbXgVcJn nwVKauTnJCjcjJeF2hUDyLcep2UF1zO6X/J3tDnYU5Jh7VLDDwT3XibjJlYKMMLvbxMVSn eKSuksUTgfyvlcIT8UPWTml7pJ3e3XZotVkLxovkL5kFufxmpxxfGmOrfFDM5DlRN4BIf4 3qNfjVRtb2eQlJk7TQAkfzY6tqivjgXpuKGpam8oxLqtmE8krB4pgu5cSo/nJw== 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 4Qhcj95hStzh4M; Thu, 15 Jun 2023 09:40:29 +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 35F9eTqe001698; Thu, 15 Jun 2023 09:40:29 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35F9eTZV001697; Thu, 15 Jun 2023 09:40:29 GMT (envelope-from git) Date: Thu, 15 Jun 2023 09:40:29 GMT Message-Id: <202306150940.35F9eTZV001697@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: e9355a8a6eb7 - main - graphics/sdl2_gpu: fix not renamed variables on big-endian which break build 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: e9355a8a6eb7c0881866185992419f3271ff0e7f Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=e9355a8a6eb7c0881866185992419f3271ff0e7f commit e9355a8a6eb7c0881866185992419f3271ff0e7f Author: Piotr Kubaj AuthorDate: 2023-06-15 09:38:08 +0000 Commit: Piotr Kubaj CommitDate: 2023-06-15 09:38:54 +0000 graphics/sdl2_gpu: fix not renamed variables on big-endian which break build --- graphics/sdl2_gpu/files/patch-src_SDL__gpu.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/graphics/sdl2_gpu/files/patch-src_SDL__gpu.c b/graphics/sdl2_gpu/files/patch-src_SDL__gpu.c new file mode 100644 index 000000000000..e3eebc5989a0 --- /dev/null +++ b/graphics/sdl2_gpu/files/patch-src_SDL__gpu.c @@ -0,0 +1,17 @@ +--- src/SDL_gpu.c.orig 2023-06-15 09:35:37 UTC ++++ src/SDL_gpu.c +@@ -1090,10 +1090,10 @@ static SDL_Surface* gpu_copy_raw_surface_data(unsigned + break; + case 4: + #if SDL_BYTEORDER == SDL_BIG_ENDIAN +- rmask = 0xff000000; +- gmask = 0x00ff0000; +- bmask = 0x0000ff00; +- amask = 0x000000ff; ++ Rmask = 0xff000000; ++ Gmask = 0x00ff0000; ++ Bmask = 0x0000ff00; ++ Amask = 0x000000ff; + #else + Rmask = 0x000000ff; + Gmask = 0x0000ff00;