tmate: update to 2.3.0

This commit is contained in:
Leonid Pliushch 2019-08-03 14:33:54 +03:00
parent 4585d3a0b5
commit 77fd61d06a
2 changed files with 3 additions and 31 deletions

View File

@ -1,11 +1,11 @@
TERMUX_PKG_HOMEPAGE=https://tmate.io
TERMUX_PKG_DESCRIPTION="Terminal multiplexer with instant terminal sharing"
TERMUX_PKG_LICENSE="BSD"
TERMUX_PKG_VERSION=2.2.1
TERMUX_PKG_REVISION=3
TERMUX_PKG_VERSION=2.3.0
TERMUX_PKG_SRCURL=https://github.com/tmate-io/tmate/archive/${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=d9c2ac59f42e65aac5f500f0548ea8056fd79c9c5285e5af324d833e2a84c305
TERMUX_PKG_SHA256=f837514edbc19180d06b27713628466e68aba91654d748d6e65bfad308f5b00a
TERMUX_PKG_DEPENDS="libandroid-support, libevent, libmsgpack, libssh, ncurses"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-static"
termux_step_pre_configure() {
CFLAGS+=" -DIOV_MAX=1024"

View File

@ -1,28 +0,0 @@
diff -u -r ../tmate-2.2.1/tmate-debug.c ./tmate-debug.c
--- ../tmate-2.2.1/tmate-debug.c 2016-03-28 23:30:07.000000000 -0400
+++ ./tmate-debug.c 2016-08-26 16:42:38.475688775 -0400
@@ -1,4 +1,6 @@
+#ifndef __ANDROID__
#include <execinfo.h>
+#endif
#include <stdio.h>
#include <stdlib.h>
#include <regex.h>
@@ -55,6 +57,9 @@
void tmate_print_stack_trace(void)
{
+#ifdef __ANDROID__
+ tmate_info ("Not supported on Android");
+#else
void *array[20];
size_t size;
char **strings;
@@ -73,6 +78,7 @@
}
free (strings);
+#endif
}