Browse Source

pick: Update to 1.4.0 from 1.3.0

android-5
Fredrik Fornwall 9 years ago
parent
commit
9293f76c88
  1. 2
      packages/pick/build.sh
  2. 13
      packages/pick/src-pick.c.patch

2
packages/pick/build.sh

@ -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.3.0
TERMUX_PKG_VERSION=1.4.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"

13
packages/pick/src-pick.c.patch

@ -1,13 +0,0 @@
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…
Cancel
Save