Compare commits
4 Commits
4019f5174b
...
factory
Author | SHA256 | Date | |
---|---|---|---|
870caf247e | |||
9411b0f75a | |||
1251d2dd23 | |||
17e926d16d |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c5fe3e70b76129ea83cac85a3c5dbc084066a62d7ef4edcc73c545ee89222ed8
|
||||
size 16116
|
3
ctris-0.43.tar.gz
Normal file
3
ctris-0.43.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:21f19ea3402a19ba993affe2e7c322b8806b94e459cb710a4b33d6aa7add31a8
|
||||
size 16663
|
12
ctris-gcc15.patch
Normal file
12
ctris-gcc15.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
--- ctris-0.43.orig/screen.h 2025-06-05 13:34:14.688036147 +0000
|
||||
+++ ctris-0.43/screen.h 2025-06-05 13:34:55.517163475 +0000
|
||||
@@ -17,7 +17,7 @@ void show_board_win(WINDOW *, char [BOAR
|
||||
void show_brick(WINDOW *, char [4][4], const char, const unsigned char, const unsigned char);
|
||||
void show_brick_preview(WINDOW *, const char);
|
||||
int get_key(WINDOW *);
|
||||
-void put_key();
|
||||
+void put_key(int value);
|
||||
int old_get_key(WINDOW *);
|
||||
void show_game_over(WINDOW *);
|
||||
void show_score(WINDOW *, const unsigned int, const char, const unsigned long);
|
||||
|
@@ -1,3 +1,16 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 5 13:43:32 UTC 2025 - pgajdos@suse.com
|
||||
|
||||
- add patches
|
||||
fix build with gcc15
|
||||
+ ctris-gcc15.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 8 21:58:03 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||
|
||||
- update to 0.43:
|
||||
* fixing the busy waits nearby the get_key() calls
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 7 20:14:24 UTC 2020 - Martin Hauke <mardnh@gmx.de>
|
||||
|
||||
|
15
ctris.spec
15
ctris.spec
@@ -2,6 +2,7 @@
|
||||
# spec file for package ctris
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2025 Andreas Stieger <Andreas.Stieger@gmx.de>
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,24 +18,26 @@
|
||||
|
||||
|
||||
Name: ctris
|
||||
Version: 0.42.1
|
||||
Version: 0.43
|
||||
Release: 0
|
||||
Summary: Console based Tetris clone
|
||||
License: GPL-2.0-or-later
|
||||
Group: Amusements/Games/Action/Arcade
|
||||
URL: https://github.com/dominikhackl/ctris
|
||||
#Git-Clone: https://github.com/dominikhackl/ctris.git
|
||||
Source: https://github.com/dominikhackl/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
URL: https://github.com/0xminik/ctris
|
||||
#Git-Clone: https://github.com/0xminik/ctris.git
|
||||
Source: https://github.com/0xminik/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
# https://github.com/0xminik/ctris/issues/5
|
||||
Patch0: ctris-gcc15.patch
|
||||
BuildRequires: ncurses-devel
|
||||
|
||||
%description
|
||||
A colorized, small and flexible Tetris clone for the console.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
make CFLAGS="%{optflags} -fcommon" %{?_smp_mflags}
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install BINDIR="%{buildroot}%{_bindir}"
|
||||
|
Reference in New Issue
Block a user