From nobody Thu Dec 22 16:22:14 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 4NdFvV2Fzfz1G7Hk; Thu, 22 Dec 2022 16:22:14 +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 4NdFvV1kjVz3nx9; Thu, 22 Dec 2022 16:22:14 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1671726134; 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=unb7Dks/bcw79XEu8obJlO1jIKwZ87ChGhOZVEBqkAQ=; b=ygSonwIX5h+u52JHab5jNo3tkLr2UKZooVmFgbUeP9FH8NfUSwp57SD05fhe26A8PNttVU mR5NUVBJUEjvym9WK1CESO1JYE5/ZPH9JoE3utR8bCBD9bgb4SBwlicGo/iruLbEIxWupA XEzNhYBwZMNZIsbM1TtC4CIveh9e70DkJZk75gWN37VrsKqBpkkQpYzQyDWMxwRVbzPCEh aZCP29YqN1cJ4Wu9IOa8bf1pAGiRCZxcoLRCvF35IvnRqtPjcBsWg5NtUvxX94gG2bl4bu PmnxQPpkUO5UCXCxKOzJaoEFzcaF39TrCFuOGR8uh8HA4hLCXgl3QKcoXrob6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1671726134; 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=unb7Dks/bcw79XEu8obJlO1jIKwZ87ChGhOZVEBqkAQ=; b=ojMDmsH2iNArl7QVbFimMjUyiU3GI98qYrPA63Oz/S2Y4yDyyFUJG/6sKoYxOsmRZpmHPk 15zioQSjY/JHr3vZqXbgEAB+dBaCznxuaD/fqXg+vGVvXLm5sf692+psmOsDsypqayrTyG 5Gld8agoY8ajciGv4oPu6B2zQ2CaOxoG2Y8Os545mjfX6uvKobAX9LyViMRDKqdS4mu/PY 4MT6ukrakNcIwsiWyDGg+7lwMreXm7T/KKJAOcIrzRBNfGn+gq4X3jVihVRiWpeE5F/bDR OTZqj4CEjit5SWTKnH3Jk64T7DPeZsiSXC3aChD42Tzk7YcHagu2+o3Xoixxjg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1671726134; a=rsa-sha256; cv=none; b=jwQaiMUuWO8HzMFFM5WYjikXoch47sxmVEy6dfzRbugaJNTgfDYNN+7jRLh+nGwDjj+VO5 MAVFAYtM8RO5Zk1XqlC3q3PwQux2jY3GAbC0530vcnTJPxqfxRK/488Z1jlSIXNnX+rdBK Kb1yxX8Fy/va/Kj967bQbKUBzY8h5qNzo5JAW/290N2KUFICUu0UYy9QuWiZhrRDWOo0eZ 4b+IEQckM7Ke0vz/+r1/AJrRipEO/jZ823wrC8iPsc6hSMIPET4sskO8WsfOXNrwzN9pTy u1HiUekphSiGZxMN4M1So44Ml3sffvo8Jo3D1GfiCv2nJbFrP8ySqK5co2Wneg== 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 4NdFvV0mmTz11k2; Thu, 22 Dec 2022 16:22:14 +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 2BMGMEj6036765; Thu, 22 Dec 2022 16:22:14 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2BMGMEaX036764; Thu, 22 Dec 2022 16:22:14 GMT (envelope-from git) Date: Thu, 22 Dec 2022 16:22:14 GMT Message-Id: <202212221622.2BMGMEaX036764@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: =?utf-8?Q?Fernando=20Apestegu=C3=ADa?= Subject: git: 88f63df37883 - main - games/bsdgames: atc: Import fix for plane allocation 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: fernape X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 88f63df378836149300eb02b89bd4b43a7d3e8a5 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by fernape: URL: https://cgit.FreeBSD.org/ports/commit/?id=88f63df378836149300eb02b89bd4b43a7d3e8a5 commit 88f63df378836149300eb02b89bd4b43a7d3e8a5 Author: Martin Neubauer AuthorDate: 2022-12-09 06:33:10 +0000 Commit: Fernando ApesteguĂ­a CommitDate: 2022-12-22 16:17:24 +0000 games/bsdgames: atc: Import fix for plane allocation Where there is only one remaining slot. This was fixed in NetBSD long time ago. PR: 268248 Reported by: m.ne@gmx.net Approved by: jockl@pianojockl.org (maintainer, timeout > 2 weeks) Obtained from: http://cvsweb.netbsd.org/bsdweb.cgi/src/games/atc/update.c?only_with_tag=MAIN#rev1.22 --- games/bsdgames/Makefile | 1 + games/bsdgames/files/patch-atc_update.c | 11 +++++++++++ 2 files changed, 12 insertions(+) diff --git a/games/bsdgames/Makefile b/games/bsdgames/Makefile index 0fbbca4a3e0d..cd60df538642 100644 --- a/games/bsdgames/Makefile +++ b/games/bsdgames/Makefile @@ -1,6 +1,7 @@ PORTNAME= bsdgames PORTVERSION= 0.75 DISTVERSIONPREFIX= v +PORTREVISION= 1 PORTEPOCH= 2 CATEGORIES= games diff --git a/games/bsdgames/files/patch-atc_update.c b/games/bsdgames/files/patch-atc_update.c new file mode 100644 index 000000000000..3431b036e161 --- /dev/null +++ b/games/bsdgames/files/patch-atc_update.c @@ -0,0 +1,11 @@ +--- atc/update.c.orig 2020-02-26 16:22:47 UTC ++++ atc/update.c +@@ -284,7 +284,7 @@ next_plane(void) + break; + } + } while (found && last_plane != start_plane); +- if (last_plane == start_plane) ++ if (found) + return (-1); + return (last_plane); + }