Date: Wed, 8 Jan 2025 13:34:17 GMT From: Emanuel Haupt <ehaupt@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: a80e84f95d14 - main - games/ctris: Update to 0.43 Message-ID: <202501081334.508DYHqR098152@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by ehaupt: URL: https://cgit.FreeBSD.org/ports/commit/?id=a80e84f95d1450f9a240b0aad5c863b450fadc46 commit a80e84f95d1450f9a240b0aad5c863b450fadc46 Author: Emanuel Haupt <ehaupt@FreeBSD.org> AuthorDate: 2025-01-08 13:34:08 +0000 Commit: Emanuel Haupt <ehaupt@FreeBSD.org> CommitDate: 2025-01-08 13:34:08 +0000 games/ctris: Update to 0.43 --- games/ctris/Makefile | 5 ++--- games/ctris/distinfo | 6 +++--- games/ctris/files/patch-brick.h | 11 ----------- games/ctris/files/patch-ctris.h | 23 ----------------------- 4 files changed, 5 insertions(+), 40 deletions(-) diff --git a/games/ctris/Makefile b/games/ctris/Makefile index 17cb731eddc6..a22286743928 100644 --- a/games/ctris/Makefile +++ b/games/ctris/Makefile @@ -1,7 +1,6 @@ PORTNAME= ctris DISTVERSIONPREFIX= v -DISTVERSION= 0.42.1 -PORTREVISION= 1 +DISTVERSION= 0.43 CATEGORIES= games MAINTAINER= ehaupt@FreeBSD.org @@ -21,7 +20,7 @@ PLIST_FILES= bin/ctris \ share/man/man6/ctris.6.gz post-patch: - @${REINPLACE_CMD} -e "s|v0\.42|v${PORTVERSION}|" ${WRKSRC}/ctris.h + @${REINPLACE_CMD} -e "s|^\(#define VERSION\).*|\1 \"v${PORTVERSION}\"|" ${WRKSRC}/ctris.h @${REINPLACE_CMD} -e "s|gcc|${CC}|" -e "s|CFLAGS=.*|CFLAGS+=-Wall|" \ ${WRKSRC}/Makefile diff --git a/games/ctris/distinfo b/games/ctris/distinfo index d816f851e40e..62a483f5bfee 100644 --- a/games/ctris/distinfo +++ b/games/ctris/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1486030284 -SHA256 (dominikhackl-ctris-v0.42.1_GH0.tar.gz) = c5fe3e70b76129ea83cac85a3c5dbc084066a62d7ef4edcc73c545ee89222ed8 -SIZE (dominikhackl-ctris-v0.42.1_GH0.tar.gz) = 16116 +TIMESTAMP = 1736342248 +SHA256 (dominikhackl-ctris-v0.43_GH0.tar.gz) = 21f19ea3402a19ba993affe2e7c322b8806b94e459cb710a4b33d6aa7add31a8 +SIZE (dominikhackl-ctris-v0.43_GH0.tar.gz) = 16663 diff --git a/games/ctris/files/patch-brick.h b/games/ctris/files/patch-brick.h deleted file mode 100644 index 9afeb6b6210a..000000000000 --- a/games/ctris/files/patch-brick.h +++ /dev/null @@ -1,11 +0,0 @@ ---- 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 - diff --git a/games/ctris/files/patch-ctris.h b/games/ctris/files/patch-ctris.h deleted file mode 100644 index 6e17b539356b..000000000000 --- a/games/ctris/files/patch-ctris.h +++ /dev/null @@ -1,23 +0,0 @@ ---- ctris.h.orig 2015-08-24 12:06:35 UTC -+++ ctris.h -@@ -15,7 +15,7 @@ - #include <limits.h> - #include <time.h> - --#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 -
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202501081334.508DYHqR098152>