Fredrik Fornwall
9 years ago
3 changed files with 27 additions and 1 deletions
@ -1,5 +1,5 @@ |
|||
TERMUX_PKG_HOMEPAGE=https://github.com/thoughtbot/pick |
|||
TERMUX_PKG_DESCRIPTION="Utility to choose one option from a set of choices with fuzzy search functionality" |
|||
TERMUX_PKG_VERSION=1.2.1 |
|||
TERMUX_PKG_VERSION=1.3.0 |
|||
TERMUX_PKG_SRCURL=https://github.com/thoughtbot/pick/releases/download/v${TERMUX_PKG_VERSION}/pick-${TERMUX_PKG_VERSION}.tar.gz |
|||
TERMUX_PKG_DEPENDS="ncurses" |
|||
|
@ -0,0 +1,13 @@ |
|||
diff -u -r ../pick-1.3.0/src/compat.h ./src/compat.h
|
|||
--- ../pick-1.3.0/src/compat.h 2016-02-12 03:48:41.000000000 -0500
|
|||
+++ ./src/compat.h 2016-02-17 22:47:09.825782253 -0500
|
|||
@@ -10,7 +10,8 @@
|
|||
#endif /* __FreeBSD__ */ |
|||
|
|||
#if defined(__linux__) || defined(__CYGWIN__) |
|||
-#ifdef __GNUC__
|
|||
+#if defined(__GNUC__) || defined(__ANDROID__)
|
|||
+#undef __dead
|
|||
#define __dead __attribute__((__noreturn__)) |
|||
#else |
|||
#define __dead |
@ -0,0 +1,13 @@ |
|||
diff -u -r ../pick-1.3.0/src/pick.c ./src/pick.c
|
|||
--- ../pick-1.3.0/src/pick.c 2016-02-12 03:48:41.000000000 -0500
|
|||
+++ ./src/pick.c 2016-02-17 22:50:26.050698229 -0500
|
|||
@@ -14,6 +14,9 @@
|
|||
#include <termios.h> |
|||
#include <unistd.h> |
|||
|
|||
+/* For CTRL macro: */
|
|||
+#include <sys/ttydefaults.h>
|
|||
+
|
|||
#ifdef HAVE_NCURSESW_H |
|||
#include <ncursesw/curses.h> |
|||
#include <ncursesw/term.h> |
Loading…
Reference in new issue