chiark / gitweb /
git: Update from 2.8.2 to 2.8.3
authorFredrik Fornwall <fredrik@fornwall.net>
Sat, 21 May 2016 22:05:32 +0000 (18:05 -0400)
committerFredrik Fornwall <fredrik@fornwall.net>
Sat, 21 May 2016 22:05:32 +0000 (18:05 -0400)
packages/git/build.sh
packages/git/wrapper.c.patch

index 08ed6e39b9670a1f2feeac98e4b500c090b77c0a..2af449f7dd61974f03e0ab1c4c23c43f39caeec6 100755 (executable)
@@ -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"
index 41db0111916f8ec09495c95027197951959529b3..10637face5699d1241d8666ac88bb5139aa36e1b 100644 (file)
@@ -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;