git: Update from 2.12.0 to 2.12.2

This commit is contained in:
Fredrik Fornwall 2017-03-26 00:14:52 +01:00
parent 680992ed77
commit ca80245865
2 changed files with 2 additions and 14 deletions

View File

@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://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.12.0
TERMUX_PKG_VERSION=2.12.2
TERMUX_PKG_SRCURL=https://www.kernel.org/pub/software/scm/git/git-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_SHA256=1821766479062d052cc1897d0ded95212e81e5c7f1039786bc4aec2225a32027
TERMUX_PKG_SHA256=d21a9e23506e618d561fb25a8a7bd6134f927b86147930103487117a7a678c4a
## This requires a working $TERMUX_PREFIX/bin/sh on the host building:
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
ac_cv_fread_reads_directories=yes

View File

@ -1,12 +0,0 @@
diff -u -r ../git-2.8.1/wrapper.c ./wrapper.c
--- ../git-2.8.1/wrapper.c 2016-04-03 15:07:18.000000000 -0400
+++ ./wrapper.c 2016-04-28 07:24:14.514073661 -0400
@@ -437,7 +437,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;