From owner-svn-ports-head@freebsd.org Fri Aug 28 18:15:19 2020 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 058563BACD8; Fri, 28 Aug 2020 18:15:19 +0000 (UTC) (envelope-from tcberner@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 "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BdSSQ49J2z44XD; Fri, 28 Aug 2020 18:15:18 +0000 (UTC) (envelope-from tcberner@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6FF7D19204; Fri, 28 Aug 2020 18:15:18 +0000 (UTC) (envelope-from tcberner@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 07SIFIG5022797; Fri, 28 Aug 2020 18:15:18 GMT (envelope-from tcberner@FreeBSD.org) Received: (from tcberner@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 07SIFIpO022795; Fri, 28 Aug 2020 18:15:18 GMT (envelope-from tcberner@FreeBSD.org) Message-Id: <202008281815.07SIFIpO022795@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tcberner set sender to tcberner@FreeBSD.org using -f From: "Tobias C. Berner" Date: Fri, 28 Aug 2020 18:15:18 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r546784 - head/games/ctris/files X-SVN-Group: ports-head X-SVN-Commit-Author: tcberner X-SVN-Commit-Paths: head/games/ctris/files X-SVN-Commit-Revision: 546784 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2020 18:15:19 -0000 Author: tcberner Date: Fri Aug 28 18:15:17 2020 New Revision: 546784 URL: https://svnweb.freebsd.org/changeset/ports/546784 Log: games/ctris: fix build on recent current Added: head/games/ctris/files/ head/games/ctris/files/patch-brick.h (contents, props changed) head/games/ctris/files/patch-ctris.h (contents, props changed) Added: head/games/ctris/files/patch-brick.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/ctris/files/patch-brick.h Fri Aug 28 18:15:17 2020 (r546784) @@ -0,0 +1,11 @@ +--- brick.h.orig 2020-08-28 18:12:58 UTC ++++ brick.h +@@ -8,7 +8,7 @@ void find_index(char [4][4], unsigned char *, unsigned + char check_brick(char [BOARD_HEIGHT][BOARD_WIDTH], char [4][4], const unsigned char, const unsigned char); + void draw_to_board(char [BOARD_HEIGHT][BOARD_WIDTH], char [4][4], const char, const unsigned char, const unsigned char); + +-char brick_digit[7][4][4]; ++extern char brick_digit[7][4][4]; + + #endif + Added: head/games/ctris/files/patch-ctris.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/ctris/files/patch-ctris.h Fri Aug 28 18:15:17 2020 (r546784) @@ -0,0 +1,23 @@ +--- ctris.h.orig 2015-08-24 12:06:35 UTC ++++ ctris.h +@@ -15,7 +15,7 @@ + #include + #include + +-#define VERSION "v0.42" // version info ++#define VERSION "v0.42.1" // version info + #define HEIGHT 24 // height of the screen + #define WIDTH 80 // width of the screen + #define BOARD_HEIGHT (HEIGHT - 5) // height of the board +@@ -44,9 +44,9 @@ void handle_quit_signal(const int); + unsigned char get_rand(const unsigned char); + int main(int, char *[]); + +-char game_state, old_style_keys, counterclockwise_rotation, hide_cursor_workaround, highscore_file_path[256], default_name[40]; ++extern char game_state, old_style_keys, counterclockwise_rotation, hide_cursor_workaround, highscore_file_path[256], default_name[40]; + +-unsigned long rseed; ++extern unsigned long rseed; + + #endif +