Browse Source

pick: Update from 1.4.0 to 1.5.0

android-5
Fredrik Fornwall 8 years ago
parent
commit
b16667b744
  1. 2
      packages/pick/build.sh
  2. 13
      packages/pick/src-compat.h.patch

2
packages/pick/build.sh

@ -1,5 +1,5 @@
TERMUX_PKG_HOMEPAGE=https://github.com/thoughtbot/pick 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_DESCRIPTION="Utility to choose one option from a set of choices with fuzzy search functionality"
TERMUX_PKG_VERSION=1.4.0 TERMUX_PKG_VERSION=1.5.0
TERMUX_PKG_SRCURL=https://github.com/thoughtbot/pick/releases/download/v${TERMUX_PKG_VERSION}/pick-${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_SRCURL=https://github.com/thoughtbot/pick/releases/download/v${TERMUX_PKG_VERSION}/pick-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_DEPENDS="ncurses" TERMUX_PKG_DEPENDS="ncurses"

13
packages/pick/src-compat.h.patch

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