mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 01:41:59 -05:00
Ports: vitetris
This commit is contained in:
parent
0a911178ce
commit
226e063207
3 changed files with 22 additions and 0 deletions
|
@ -79,6 +79,7 @@ Please make sure to keep this list up to date when adding and updating ports. :^
|
|||
| [`tinyscheme`](tinyscheme/) | TinyScheme Interpreter | 1.42 | https://sourceforge.net/projects/tinyscheme/ |
|
||||
| [`tr`](tr/) | tr (OpenBSD) | 6.7 | https://github.com/ibara/libpuffy |
|
||||
| [`vim`](vim/) | Vim | | https://www.vim.org/ |
|
||||
| [`vitetris`](vitetris/) | vitetris | 0.59.1 | https://github.com/vicgeralds/vitetris |
|
||||
| [`vttest`](vttest/) | vttest | 20210210 | https://invisible-island.net/vttest/ |
|
||||
| [`zlib`](zlib/) | zlib | 1.2.11 | https://www.zlib.net/ |
|
||||
| [`zstd`](zstd/) | Zstandard | 1.4.4 | https://facebook.github.io/zstd/ |
|
||||
|
|
11
Ports/vitetris/package.sh
Executable file
11
Ports/vitetris/package.sh
Executable file
|
@ -0,0 +1,11 @@
|
|||
#!/usr/bin/env -S bash ../.port_include.sh
|
||||
port=vitetris
|
||||
useconfigure="true"
|
||||
version="0.59.1"
|
||||
files="https://github.com/vicgeralds/vitetris/archive/refs/tags/v${version}.tar.gz vitetris.tar.gz"
|
||||
configopts="--without-xlib --without-joystick --without-network"
|
||||
|
||||
configure() {
|
||||
run chmod +x "$configscript"
|
||||
run ./"$configscript" $configopts
|
||||
}
|
10
Ports/vitetris/patches/workaround.patch
Normal file
10
Ports/vitetris/patches/workaround.patch
Normal file
|
@ -0,0 +1,10 @@
|
|||
diff --git a/src/input/select.h b/src/input/select.h
|
||||
index 093bb77..48aad37 100644
|
||||
--- a/src/input/select.h
|
||||
+++ b/src/input/select.h
|
||||
@@ -1,4 +1,5 @@
|
||||
#include "../config.h"
|
||||
+#include <sys/time.h>
|
||||
#if HAVE_SYS_SELECT_H
|
||||
#include <sys/select.h>
|
||||
#elif __DJGPP__
|
Loading…
Reference in a new issue