From nobody Tue Oct 01 20:12:49 2024 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 4XJ8J2505yz5XKwt; Tue, 01 Oct 2024 20:12:50 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XJ8J16x4vz4jTl; Tue, 1 Oct 2024 20:12:49 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727813570; 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=g0IzGBE1qRe6KBtSeZw/YE7DWyKCgDjYyTOkuC5zDgQ=; b=CJQ6f+1+sdOd/aeGeLbi58coJ5yIoMf9PWwsgFgUCERGDvnVJLG0L3CFyyx/My4fU7kqet wT9eIcMMLYn0lALrAPwL3vWlX2HPrV1+nQOogydZU33IEnZ/Nj+A/21DybLx85RSdMhxeD 5YqjpB1hgRYuHZcQU+PqJe6rWw65NCT4i6+LSu5l2pfczLC5Dd2oDylOQ/Q7OBKDed3HLZ ymzAd5JJqc3fnw+gsApZxNCmsj7FbuAhxnh2ZKuaif1/3gjzfRoj4sMxrl/xkpYoBzNOnT GXfAMFAAuNcp5D5Om9uvorEz8/4nHMuzZH1ZTsWoWKxtyiY3Sx7IjNJkbRop0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727813570; 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=g0IzGBE1qRe6KBtSeZw/YE7DWyKCgDjYyTOkuC5zDgQ=; b=UnMHO+HORmUNA1yUToGXFlpZrP4E9NFCv210C1m12gc1dUD4qSseSUckcF2mvf73GLi+0S gzTLp3JgNjQAzAX1GsmL5ZuhFdm/6kAmRfH4I/fuIxt5NErhmNGLUosjxcwPsj5N4h2Two A1w3gZDyi6heaws8Jj8NyvkL1MNi4Wos5MhAB5aQOzV31nNcWHjxlDHde5N1PxiIzNmERJ +Bxf9YZyDNs5W1RxHD96p54C8py+3g9vNFdi/wMa1VVJp3EGOe8/GKgE49y5TeHsetVdB7 E5KItSpSwzVL5kPU4tQeZjG6UU2KxLaStgTWE7st0TTBxJzBsiZ7jlAKN9Hzrg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1727813570; a=rsa-sha256; cv=none; b=B2UFp7UqdFRZwpzcw7Ic83yLKKG2ZFYV+4aum2B0KEoaQD3UIyAb7K9Z9QXDxV470whI9m f2vuj7aHwq0AfjUaq16CJp1F3bJqD9KHda8E/kYJ7g1iaxDBzddJPY3HUAXy5AyoINtFkp RqYucTaxILih+zcEOtz6T7ueQlqUjzDGe/d/cHY8LCBYSy8mVbbwSLo4qA9lTquk+Px0ov bTDbjDdcV9wQGpCDj9wTJhodBBmNX6+u/c8jLIyBpKXwX6A5EoPZj+gIlbN6x3Y0TXBQ0q mEOj/qN3HqXokQb2VA+s9VS3Jg60Hs7XIl7a9u4kjyOfxYBXGjr0TXmGkT3Mrg== 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 4XJ8J16SDXzr6v; Tue, 1 Oct 2024 20:12:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 491KCnuQ049769; Tue, 1 Oct 2024 20:12:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 491KCne8049766; Tue, 1 Oct 2024 20:12:49 GMT (envelope-from git) Date: Tue, 1 Oct 2024 20:12:49 GMT Message-Id: <202410012012.491KCne8049766@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Brooks Davis Subject: git: d4400f87b255 - main - games/xtrojka: include errno.h for errno 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: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: brooks X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d4400f87b255ff235ac12fec2c7d502858ebae93 Auto-Submitted: auto-generated The branch main has been updated by brooks: URL: https://cgit.FreeBSD.org/ports/commit/?id=d4400f87b255ff235ac12fec2c7d502858ebae93 commit d4400f87b255ff235ac12fec2c7d502858ebae93 Author: Brooks Davis AuthorDate: 2024-09-30 15:56:09 +0000 Commit: Brooks Davis CommitDate: 2024-10-01 20:11:46 +0000 games/xtrojka: include errno.h for errno errno must be accessed by a macro from errno.h. PR: 281786 Approved by: portmgr (build fix blanket), mikael --- games/xtrojka/Makefile | 2 +- games/xtrojka/files/patch-scores.c | 19 +++++++++++++++++++ games/xtrojka/files/patch-slist.c | 19 +++++++++++++++++++ 3 files changed, 39 insertions(+), 1 deletion(-) diff --git a/games/xtrojka/Makefile b/games/xtrojka/Makefile index 10cc1ee9df26..afdd323fc4f1 100644 --- a/games/xtrojka/Makefile +++ b/games/xtrojka/Makefile @@ -1,6 +1,6 @@ PORTNAME= xtrojka PORTVERSION= 1.2.3 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= games MASTER_SITES= SUNSITE/games/arcade/tetris DISTNAME= ${PORTNAME}${PORTVERSION:C/\.//g} diff --git a/games/xtrojka/files/patch-scores.c b/games/xtrojka/files/patch-scores.c new file mode 100644 index 000000000000..0b726e648963 --- /dev/null +++ b/games/xtrojka/files/patch-scores.c @@ -0,0 +1,19 @@ +--- scores.c.orig ++++ scores.c +@@ -15,6 +15,7 @@ + + #include "_strdefs.h" + ++#include + #include + #include + #include +@@ -36,8 +37,6 @@ + + extern flag is_wizard; + extern time_t last_time; +- +-extern int errno; + + int position; + diff --git a/games/xtrojka/files/patch-slist.c b/games/xtrojka/files/patch-slist.c new file mode 100644 index 000000000000..f040bb90ca7f --- /dev/null +++ b/games/xtrojka/files/patch-slist.c @@ -0,0 +1,19 @@ +--- slist.c.orig ++++ slist.c +@@ -11,6 +11,7 @@ + + #include "debug.h" + ++#include + #include + #include + #include +@@ -38,8 +39,6 @@ + extern SCORES scores[NUMSCORES]; + extern SCORES old_scores[NUMSCORES]; + extern SCORES cur; +- +-extern int errno; + + extern int position; + extern GAME_STATE game_state;