Browse Source

git: Update from 2.12.0 to 2.12.2

android-5
Fredrik Fornwall 8 years ago
parent
commit
ca80245865
  1. 4
      packages/git/build.sh
  2. 12
      packages/git/wrapper.c.patch

4
packages/git/build.sh

@ -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" 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. # 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_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_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: ## This requires a working $TERMUX_PREFIX/bin/sh on the host building:
TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
ac_cv_fread_reads_directories=yes ac_cv_fread_reads_directories=yes

12
packages/git/wrapper.c.patch

@ -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;
Loading…
Cancel
Save