From cba7ea1db4c7be079153be712634ddc56ff83a4f Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Sat, 21 May 2016 18:05:32 -0400 Subject: [PATCH] git: Update from 2.8.2 to 2.8.3 --- packages/git/build.sh | 2 +- packages/git/wrapper.c.patch | 9 --------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/packages/git/build.sh b/packages/git/build.sh index 08ed6e39b..2af449f7d 100755 --- a/packages/git/build.sh +++ b/packages/git/build.sh @@ -2,7 +2,7 @@ TERMUX_PKG_HOMEPAGE=http://git-scm.com/ TERMUX_PKG_DESCRIPTION="Distributed version control system designed to handle everything from small to very large projects with speed and efficiency" # less is required as a pager for git log, and the busybox less does not handle used escape sequences. TERMUX_PKG_DEPENDS="libcurl, less" -TERMUX_PKG_VERSION=2.8.2 +TERMUX_PKG_VERSION=2.8.3 TERMUX_PKG_SRCURL=https://www.kernel.org/pub/software/scm/git/git-${TERMUX_PKG_VERSION}.tar.xz ## This requires a working $TERMUX_PREFIX/bin/sh on the host building: TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--without-tcltk --with-curl --with-shell=$TERMUX_PREFIX/bin/sh ac_cv_header_libintl_h=no ac_cv_fread_reads_directories=yes ac_cv_snprintf_returns_bogus=yes" diff --git a/packages/git/wrapper.c.patch b/packages/git/wrapper.c.patch index 41db01119..10637face 100644 --- a/packages/git/wrapper.c.patch +++ b/packages/git/wrapper.c.patch @@ -10,12 +10,3 @@ diff -u -r ../git-2.8.1/wrapper.c ./wrapper.c n = snprintf(path, len, "%s/%s", tmp, template); if (len <= n) { errno = ENAMETOOLONG; -@@ -454,7 +454,7 @@ - - tmp = getenv("TMPDIR"); - if (!tmp) -- tmp = "/tmp"; -+ tmp = "@TERMUX_PREFIX@/tmp"; - n = snprintf(path, len, "%s/%s", tmp, template); - if (len <= n) { - errno = ENAMETOOLONG;