Browse Source

git: Update from 2.4.6 to 2.5.0

android-5
Fredrik Fornwall 10 years ago
parent
commit
bad5811ddc
  1. 2
      packages/git/build.sh
  2. 19
      packages/git/makefile.patch

2
packages/git/build.sh

@ -1,7 +1,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"
TERMUX_PKG_DEPENDS="openssl, libcurl"
TERMUX_PKG_VERSION=2.4.6
TERMUX_PKG_VERSION=2.5.0
TERMUX_PKG_BUILD_REVISION=1
TERMUX_PKG_SRCURL=https://www.kernel.org/pub/software/scm/git/git-${TERMUX_PKG_VERSION}.tar.xz
## This requires a /system/bin/sh on the host building:

19
packages/git/makefile.patch

@ -1,11 +1,20 @@
diff -u -r ../git-2.1.0/Makefile ./Makefile
--- ../git-2.1.0/Makefile 2014-08-16 00:26:55.000000000 +0200
+++ ./Makefile 2014-08-20 18:23:54.348764528 +0200
@@ -1504,7 +1504,6 @@
diff -u -r ../git-2.5.0/Makefile ./Makefile
--- ../git-2.5.0/Makefile 2015-07-27 16:34:56.000000000 -0400
+++ ./Makefile 2015-07-30 03:43:04.011455306 -0400
@@ -1431,7 +1431,6 @@
ifdef HAVE_CLOCK_GETTIME
BASIC_CFLAGS += -DHAVE_CLOCK_GETTIME
- EXTLIBS += -lrt
endif
ifeq ($(TCLTK_PATH),)
ifdef HAVE_CLOCK_MONOTONIC
@@ -1699,7 +1698,7 @@
common-cmds.h: generate-cmdlist.perl command-list.txt
common-cmds.h: $(wildcard Documentation/git-*.txt)
- $(QUIET_GEN)$(PERL_PATH) generate-cmdlist.perl command-list.txt > $@+ && mv $@+ $@
+ $(QUIET_GEN)perl generate-cmdlist.perl command-list.txt > $@+ && mv $@+ $@
SCRIPT_DEFINES = $(SHELL_PATH_SQ):$(DIFF_SQ):$(GIT_VERSION):\
$(localedir_SQ):$(NO_CURL):$(USE_GETTEXT_SCHEME):$(SANE_TOOL_PATH_SQ):\

Loading…
Cancel
Save