From nobody Tue Jun 27 05:02:53 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 4QqszK5zqrz4kNvj; Tue, 27 Jun 2023 05:02:53 +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 4QqszK3tghz4H00; Tue, 27 Jun 2023 05:02:53 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687842173; 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=s+HdrVA0eCVqMPKJ4/gO6HNz41Dv1sDH0sKSAK9tHSI=; b=TrbvRhYE/rjYw8WzCtHirUIvbwm7yuRoOorgjSZXbKltkRFQfmE56jTnCvC1nnOvwh6pqB 0XUu9IHnFak77iU3KyH8Kx9z323l4/SE4xlmick5xaiADDGANmepr6sE4G0wHA5kLhcqN2 uZkLthzaHP+Frguu2AteDax35fRGPvar+kLjPBkrFJof8Wi8qUVO+hll9zDpi05TA3rHw4 BiLxeLNShg4m/WfeeayRYGnitfJZg5wMxH0b0Q+1RAxEO9E5HzXua7tYILIONFle4xC4Si SSQ0OeX7wdodGM+PLhiuRQWy6uATm/wKXCybETd4dIftyOE4eS8iyT5IHz8Bsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687842173; 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=s+HdrVA0eCVqMPKJ4/gO6HNz41Dv1sDH0sKSAK9tHSI=; b=Auhgyu6wJV9ZqT3VIe1XwvbtwqJW1C1vgjUlZqfKje2lIXb0rK8lObMEMDFnqS78nG754X mNNrBFH5/XM4QGLZgk7gxNh5fjDB7SK5sCWLlUqC+0xS9SwkFbGAoqgtCaWbi6BM+7O750 ZHwSCFSTv5J776eo5OYSwTwYURRmZGA7W4lEFc4dA630SJpDxJfk/9QMxSanPV2x9MMvfV TUXZcqZ4mqXS70cH4pygfoKv+NziJAIKqDddoSHhseFQXxL7IB/TigqdY0m6smmzfP4jOz 6+MD8xYMdt3lJIWa6vBS8CLMTOqnKqfdHC756UCuLAzkVDZWTpgpVJJTJKIUUw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687842173; a=rsa-sha256; cv=none; b=gNvKiit8Z7tC3Muo3aaid8z3GLM/PM+Q6b7bHZWtUw8fzCYnEx4KzUGYvrCrRHsAlbUVHY F8OfZLjv3WdK0SM1Z4L/NuRSzhZrZ612KCOKOAbDCbBmhqU7WuIMpj8xApsWtYv+Nhz0bw nfSzMjY2AcqonlK6NhIMGOq5Xbmx3Sa2WKKTS8j0rE6TUFluxHfwOHLDtS+fc/pRzM7igg Jn42juUakLIykNFfkrk1s+HR6G2Ue45mlfxxtjLP3tJiz7Dd39U/NDsEWK0p+8nzndz9RD qVoSP5PURl2FZ+8GV2WI7E3ExKE6jJ1zs8RWGC/ctVRYRVah2AHavLxO2a90fw== 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 4QqszK2yjjzfjc; Tue, 27 Jun 2023 05:02:53 +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 35R52rN4084891; Tue, 27 Jun 2023 05:02:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35R52rg6084890; Tue, 27 Jun 2023 05:02:53 GMT (envelope-from git) Date: Tue, 27 Jun 2023 05:02:53 GMT Message-Id: <202306270502.35R52rg6084890@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Kyle Evans Subject: git: 680cf0bcb50e - 2023Q2 - games/zdoom: fix the build with llvm16 in base 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: kevans X-Git-Repository: ports X-Git-Refname: refs/heads/2023Q2 X-Git-Reftype: branch X-Git-Commit: 680cf0bcb50e4ac6257488827e06b0ac1fa11700 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch 2023Q2 has been updated by kevans: URL: https://cgit.FreeBSD.org/ports/commit/?id=680cf0bcb50e4ac6257488827e06b0ac1fa11700 commit 680cf0bcb50e4ac6257488827e06b0ac1fa11700 Author: Kyle Evans AuthorDate: 2023-06-26 02:28:07 +0000 Commit: Kyle Evans CommitDate: 2023-06-27 05:02:34 +0000 games/zdoom: fix the build with llvm16 in base The 'register' keyword now raises an error, so patch out those parts. Patch generally taken from gzdoom commit 3c044ebd5eae343. No functional change as a result of this. (cherry picked from commit 10aecf3b195e51a5ee140d4dac8b28ae6cf3198a) --- games/zdoom/files/patch-src_am__map.cpp | 15 +++++++++++++++ games/zdoom/files/patch-src_md5.cpp | 11 +++++++++++ games/zdoom/files/patch-src_p__spec.cpp | 18 ++++++++++++++++++ 3 files changed, 44 insertions(+) diff --git a/games/zdoom/files/patch-src_am__map.cpp b/games/zdoom/files/patch-src_am__map.cpp new file mode 100644 index 000000000000..fe4a67031a35 --- /dev/null +++ b/games/zdoom/files/patch-src_am__map.cpp @@ -0,0 +1,15 @@ +--- src/am_map.cpp.orig 2016-02-22 02:11:13 UTC ++++ src/am_map.cpp +@@ -1692,9 +1692,9 @@ bool AM_clipMline (mline_t *ml, fline_t *fl) + TOP =8 + }; + +- register int outcode1 = 0; +- register int outcode2 = 0; +- register int outside; ++ int outcode1 = 0; ++ int outcode2 = 0; ++ int outside; + + fpoint_t tmp = { 0, 0 }; + int dx; diff --git a/games/zdoom/files/patch-src_md5.cpp b/games/zdoom/files/patch-src_md5.cpp new file mode 100644 index 000000000000..e25f2660b9ca --- /dev/null +++ b/games/zdoom/files/patch-src_md5.cpp @@ -0,0 +1,11 @@ +--- src/md5.cpp.orig 2016-02-22 02:11:13 UTC ++++ src/md5.cpp +@@ -166,7 +166,7 @@ MD5Transform(DWORD buf[4], const DWORD in[16]) + void + MD5Transform(DWORD buf[4], const DWORD in[16]) + { +- register DWORD a, b, c, d; ++ DWORD a, b, c, d; + + a = buf[0]; + b = buf[1]; diff --git a/games/zdoom/files/patch-src_p__spec.cpp b/games/zdoom/files/patch-src_p__spec.cpp index d2d1d93d7e48..2dcc9ac98429 100644 --- a/games/zdoom/files/patch-src_p__spec.cpp +++ b/games/zdoom/files/patch-src_p__spec.cpp @@ -9,3 +9,21 @@ { { 0, 1 }, { 0, 2 }, { 0, 4 }, { -1, 0 }, { -2, 0 }, { -4, 0 }, +@@ -1826,7 +1826,7 @@ static void P_SpawnScrollers(void) + + switch (special) + { +- register int s; ++ int s; + + case Scroll_Ceiling: + { +@@ -2357,7 +2357,7 @@ static void P_SpawnPushers () + { + int i; + line_t *l = lines; +- register int s; ++ int s; + + for (i = 0; i < numlines; i++, l++) + {