Browse Source

tmate: update to 2.3.0

emacs-27
Leonid Plyushch 5 years ago
parent
commit
155d7e3b9f
No known key found for this signature in database GPG Key ID: 45F2964132545795
  1. 6
      packages/tmate/build.sh
  2. 28
      packages/tmate/tmate-debug.c.patch

6
packages/tmate/build.sh

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

28
packages/tmate/tmate-debug.c.patch

@ -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
}
Loading…
Cancel
Save