Browse Source

git: Update from 2.8.2 to 2.8.3

android-5
Fredrik Fornwall 9 years ago
parent
commit
cba7ea1db4
  1. 2
      packages/git/build.sh
  2. 9
      packages/git/wrapper.c.patch

2
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"

9
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;

Loading…
Cancel
Save