pick: Update from 1.8.0 to 1.9.0
This commit is contained in:
parent
cf367639ea
commit
a2cc3abce4
@ -1,7 +1,7 @@
|
||||
TERMUX_PKG_HOMEPAGE=https://github.com/calleerlandsson/pick
|
||||
TERMUX_PKG_DESCRIPTION="Utility to choose one option from a set of choices with fuzzy search functionality"
|
||||
TERMUX_PKG_VERSION=1.8.0
|
||||
TERMUX_PKG_SHA256=7834d3aef9e575ce07414f961d1f024776b49bb23c5dc3b7bb8f6b734131067d
|
||||
TERMUX_PKG_VERSION=1.9.0
|
||||
TERMUX_PKG_SHA256=97d3f310eb7de44fbe50ad3451c49d859d607fa14acd0c584aafae97eea65267
|
||||
TERMUX_PKG_SRCURL=https://github.com/calleerlandsson/pick/releases/download/v${TERMUX_PKG_VERSION}/pick-${TERMUX_PKG_VERSION}.tar.gz
|
||||
TERMUX_PKG_DEPENDS="ncurses"
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="ac_cv_search_setupterm=-lncurses"
|
||||
|
14
packages/pick/pick.c.patch
Normal file
14
packages/pick/pick.c.patch
Normal file
@ -0,0 +1,14 @@
|
||||
diff -u -r ../pick-1.9.0/pick.c ./pick.c
|
||||
--- ../pick-1.9.0/pick.c 2017-09-19 08:38:03.000000000 +0200
|
||||
+++ ./pick.c 2017-09-20 00:53:21.927992913 +0200
|
||||
@@ -33,6 +33,10 @@
|
||||
errx(1, #capability ": unknown terminfo capability"); \
|
||||
} while (0)
|
||||
|
||||
+#ifndef CCEQ
|
||||
+# define CCEQ(val, c) ((c) == (val) && (val) != _POSIX_VDISABLE)
|
||||
+#endif
|
||||
+
|
||||
enum key {
|
||||
UNKNOWN,
|
||||
ALT_ENTER,
|
Loading…
Reference in New Issue
Block a user