mirror of
https://github.com/RGBCube/serenity
synced 2025-07-29 14:57:35 +00:00
Ports: vitetris
This commit is contained in:
parent
0a911178ce
commit
226e063207
3 changed files with 22 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue