Browse Source

fish: Update package to latest master

android-5
Fredrik Fornwall 9 years ago
parent
commit
3e9c81f21e
  1. 12
      packages/fish/Makefile.in.patch
  2. 1
      packages/fish/build.sh
  3. 13
      packages/fish/exec.cpp.patch

12
packages/fish/Makefile.in.patch

@ -1,12 +0,0 @@
diff -u -r ../fish-shell-master/Makefile.in ./Makefile.in
--- ../fish-shell-master/Makefile.in 2015-09-30 09:14:09.000000000 -0400
+++ ./Makefile.in 2015-09-30 18:30:13.271683017 -0400
@@ -59,7 +59,7 @@
PCRE2_LIBDIR = $(PCRE2_DIR)/.libs
PCRE2_LIB = $(PCRE2_LIBDIR)/libpcre2-$(PCRE2_WIDTH).a
PCRE2_H = $(PCRE2_DIR)/src/pcre2.h
-PCRE2_CONFIG = --disable-pcre2-8 --enable-pcre2-$(PCRE2_WIDTH) --disable-shared
+PCRE2_CONFIG = --disable-pcre2-8 --enable-pcre2-$(PCRE2_WIDTH) --disable-shared $(PCRE2_CONFIG_EXTRAS)
#
# Various flags

1
packages/fish/build.sh

@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="Shell geared towards interactive use"
TERMUX_PKG_VERSION=2.2.0.`date "+%Y%m%d%H%M"`
# TERMUX_PKG_SRCURL=http://fishshell.com/files/${TERMUX_PKG_VERSION}/fish-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SRCURL=https://github.com/fish-shell/fish-shell/archive/master.zip
TERMUX_PKG_NO_SRC_CACHE=yes
TERMUX_PKG_DEPENDS="ncurses, libgnustl, libandroid-support"
TERMUX_PKG_BUILD_IN_SRC=yes
TERMUX_PKG_FOLDERNAME=fish-shell-master

13
packages/fish/exec.cpp.patch

@ -1,13 +0,0 @@
diff -u -r ../fish-shell-master/src/exec.cpp ./src/exec.cpp
--- ../fish-shell-master/src/exec.cpp 2015-09-30 09:14:09.000000000 -0400
+++ ./src/exec.cpp 2015-09-30 18:13:06.563764498 -0400
@@ -18,7 +18,9 @@
#include <assert.h>
#include <vector>
#include <algorithm>
+#ifdef FISH_USE_POSIX_SPAWN
#include <spawn.h>
+#endif
#include <wctype.h>
#include <map>
#include <string>
Loading…
Cancel
Save