feat(heyu): update to 2.10.3
- upstream has latest stable version 2.10.3 (2021) - 2.11-rc3 is unstable version and was released in 2017 Signed-off-by: Aditya Alok <dev.aditya.alok@gmail.com>
This commit is contained in:
parent
2a80df86f5
commit
1b23194997
|
@ -2,13 +2,17 @@ TERMUX_PKG_HOMEPAGE=https://www.heyu.org/
|
|||
TERMUX_PKG_DESCRIPTION="Program for remotely controlling lights and appliances"
|
||||
TERMUX_PKG_LICENSE="GPL-3.0"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
TERMUX_PKG_VERSION=2.11-rc3
|
||||
TERMUX_PKG_REVISION=2
|
||||
TERMUX_PKG_SRCURL=https://github.com/HeyuX10Automation/heyu/archive/v$TERMUX_PKG_VERSION.tar.gz
|
||||
TERMUX_PKG_SHA256=6285f134e03688b5ec03986ef53cce463abc007281996156cac52b61cbeb58b2
|
||||
TERMUX_PKG_VERSION=1:2.10.3
|
||||
TERMUX_PKG_SRCURL="https://github.com/HeyuX10Automation/heyu/archive/v${TERMUX_PKG_VERSION:2}.tar.gz"
|
||||
TERMUX_PKG_SHA256=0c3435ea9cd57cd78c29047b9c961f4bfbec39f42055c9949acd10dd9853b628
|
||||
TERMUX_PKG_AUTO_UPDATE=true
|
||||
TERMUX_PKG_BUILD_IN_SRC=true
|
||||
|
||||
termux_step_pre_configure() {
|
||||
# rindex is an obsolete version of strrchr which is not available in Android:
|
||||
CFLAGS+=" -Drindex=strrchr"
|
||||
}
|
||||
|
||||
termux_step_configure() {
|
||||
./Configure linux
|
||||
}
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
--- ../relay_aux.c.orig 2021-09-22 11:17:39.444565934 +0200
|
||||
+++ ./relay_aux.c 2021-09-22 11:17:59.128252191 +0200
|
||||
@@ -95,7 +95,7 @@
|
||||
extern CONFIG config;
|
||||
extern CONFIG *configp;
|
||||
|
||||
-char spoolfile[PATH_LEN + 1];
|
||||
+extern char spoolfile[PATH_LEN + 1];
|
||||
|
||||
extern int is_ring( void );
|
||||
int relay_ri_control( void );
|
|
@ -1,29 +0,0 @@
|
|||
--- ../tty_aux.c.orig 2021-09-22 11:12:35.845952747 +0200
|
||||
+++ ./tty_aux.c 2021-09-22 11:13:47.397197243 +0200
|
||||
@@ -121,7 +121,7 @@
|
||||
|
||||
#if !defined(HAVE_STRUCT_TERMIOS) && !defined(HAVE_STRUCT_TERMIO)
|
||||
# include <sgtty.h>
|
||||
-struct sgttyb oldsb, newsb;
|
||||
+extern struct sgttyb oldsb, newsb;
|
||||
void hangup();
|
||||
#else
|
||||
# ifndef HAVE_STRUCT_TERMIOS
|
||||
@@ -131,7 +131,7 @@
|
||||
# ifdef HAVE_SYS_TERMIO_H
|
||||
# include <sys/termio.h>
|
||||
# endif
|
||||
-struct termio oldsb, newsb;
|
||||
+extern struct termio oldsb, newsb;
|
||||
# else
|
||||
# ifdef HAVE_TERMIOS_H
|
||||
# include <termios.h>
|
||||
@@ -139,7 +139,7 @@
|
||||
# ifdef HAVE_SYS_TERMIOS_H
|
||||
# include <sys/termios.h>
|
||||
# endif
|
||||
-struct termios oldsb, newsb;
|
||||
+extern struct termios oldsb, newsb;
|
||||
# endif
|
||||
# ifndef NCC
|
||||
# define NCC NCCS
|
Loading…
Reference in New Issue