tinyfugue: fix builds
This commit is contained in:
parent
83bdf61629
commit
c0669926e3
@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="Flexible, screen-oriented MUD client, for use with any t
|
|||||||
TERMUX_PKG_LICENSE="GPL-2.0"
|
TERMUX_PKG_LICENSE="GPL-2.0"
|
||||||
TERMUX_PKG_MAINTAINER="@termux"
|
TERMUX_PKG_MAINTAINER="@termux"
|
||||||
TERMUX_PKG_VERSION=5.0b8
|
TERMUX_PKG_VERSION=5.0b8
|
||||||
|
TERMUX_PKG_REVISION=1
|
||||||
_COMMIT=854c76f33a4eda6cd64e0b7dc3e07e5de8bbfada
|
_COMMIT=854c76f33a4eda6cd64e0b7dc3e07e5de8bbfada
|
||||||
TERMUX_PKG_SRCURL=https://github.com/Longlius/tinyfugue/archive/${_COMMIT}.zip
|
TERMUX_PKG_SRCURL=https://github.com/Longlius/tinyfugue/archive/${_COMMIT}.zip
|
||||||
TERMUX_PKG_SHA256=59579de448b7e892a2b4dbfa7a7db7859382a90ec2bd77ce50c515358253461d
|
TERMUX_PKG_SHA256=59579de448b7e892a2b4dbfa7a7db7859382a90ec2bd77ce50c515358253461d
|
||||||
|
10
packages/tinyfugue/src-socket.c.patch
Normal file
10
packages/tinyfugue/src-socket.c.patch
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
--- ./src/socket.c.orig 2022-02-21 16:29:08.658684366 +0530
|
||||||
|
+++ ./src/socket.c 2022-02-21 16:30:50.978684327 +0530
|
||||||
|
@@ -460,6 +460,7 @@
|
||||||
|
char mccp1_subneg[] = { TN_IAC, TN_SB, TN_COMPRESS, TN_WILL, TN_SE };
|
||||||
|
#endif
|
||||||
|
|
||||||
|
+struct World *world_decl;
|
||||||
|
Sock *xsock = NULL; /* current (transmission) socket */
|
||||||
|
int quit_flag = FALSE; /* Are we all done? */
|
||||||
|
int active_count = 0; /* # of (non-current) active sockets */
|
11
packages/tinyfugue/src-socket.h.patch
Normal file
11
packages/tinyfugue/src-socket.h.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- ./src/socket.h.orig 2022-02-21 16:28:45.238684375 +0530
|
||||||
|
+++ ./src/socket.h 2022-02-21 16:29:04.798684367 +0530
|
||||||
|
@@ -21,7 +21,7 @@
|
||||||
|
#define CONN_BG 0x08
|
||||||
|
#define CONN_FG 0x10
|
||||||
|
|
||||||
|
-struct World *world_decl; /* declares struct World */
|
||||||
|
+extern struct World *world_decl; /* declares struct World */
|
||||||
|
|
||||||
|
extern String *incoming_text;
|
||||||
|
extern int quit_flag;
|
Loading…
Reference in New Issue
Block a user