new package: aalib
This commit is contained in:
parent
bd3a56330b
commit
7a996768c6
11
packages/aalib/acloca-fixes.patch
Normal file
11
packages/aalib/acloca-fixes.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- ./aalib.m4.orig 2006-03-05 13:58:21.000000000 +0000
|
||||
+++ ,/aalib.m4 2006-03-05 13:58:32.000000000 +0000
|
||||
@@ -9,7 +9,7 @@
|
||||
dnl AM_PATH_AALIB([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
|
||||
dnl Test for AALIB, and define AALIB_CFLAGS and AALIB_LIBS
|
||||
dnl
|
||||
-AC_DEFUN(AM_PATH_AALIB,
|
||||
+AC_DEFUN([AM_PATH_AALIB],
|
||||
[dnl
|
||||
dnl Get the cflags and libraries from the aalib-config script
|
||||
dnl
|
7
packages/aalib/build.sh
Normal file
7
packages/aalib/build.sh
Normal file
@ -0,0 +1,7 @@
|
||||
TERMUX_PKG_HOMEPAGE=https://aa-project.sourceforge.net/aalib/
|
||||
TERMUX_PKG_DESCRIPTION="A portable ASCII art graphic library"
|
||||
TERMUX_PKG_LICENSE="LGPL-2.1"
|
||||
TERMUX_PKG_VERSION=1.4rc5
|
||||
TERMUX_PKG_SRCURL=https://downloads.sourceforge.net/sourceforge/aa-project/aalib-$TERMUX_PKG_VERSION.tar.gz
|
||||
TERMUX_PKG_SHA256=fbddda9230cf6ee2a4f5706b4b11e2190ae45f5eda1f0409dc4f99b35e0a70ee
|
||||
TERMUX_PKG_DEPENDS="libx11"
|
12
packages/aalib/src-aalinuxkbd.c.patch
Normal file
12
packages/aalib/src-aalinuxkbd.c.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -uNr aalib-1.4.0/src/aalinuxkbd.c aalib-1.4.0.mod/src/aalinuxkbd.c
|
||||
--- aalib-1.4.0/src/aalinuxkbd.c 2001-04-26 17:37:31.000000000 +0300
|
||||
+++ aalib-1.4.0.mod/src/aalinuxkbd.c 2020-06-05 23:12:49.189568303 +0300
|
||||
@@ -200,7 +200,7 @@
|
||||
static int rawmode_init(void)
|
||||
{
|
||||
if (!closed)
|
||||
- return;
|
||||
+ return 0;
|
||||
mypid = getpid();
|
||||
if (tty_fd == -1) {
|
||||
tty_fd = fileno(stdin);
|
Loading…
Reference in New Issue
Block a user