From 54be3048b8429517217dfdd8cbe97d562c46b6ab Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Sun, 27 Jan 2019 09:20:42 +0100 Subject: [PATCH] hub: Update from 2.7.1 to 2.8.3 --- packages/hub/build.sh | 4 ++-- packages/hub/script-build.patch | 12 ++++++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 packages/hub/script-build.patch diff --git a/packages/hub/build.sh b/packages/hub/build.sh index 46e4beed4..510c171d4 100644 --- a/packages/hub/build.sh +++ b/packages/hub/build.sh @@ -1,8 +1,8 @@ TERMUX_PKG_HOMEPAGE=https://hub.github.com/ TERMUX_PKG_DESCRIPTION="Command-line wrapper for git that makes you better at GitHub" TERMUX_PKG_LICENSE="MIT" -TERMUX_PKG_VERSION=2.7.1 -TERMUX_PKG_SHA256=83fac8b47b2f56da1e7366688df4bd0eeb5fa20bde5d3de39792ea1cc1d15cd4 +TERMUX_PKG_VERSION=2.8.3 +TERMUX_PKG_SHA256=26bc1bc6fd8b6af379445728450d9c1e26a6d1861fdff5c2b552562eb7487a96 TERMUX_PKG_SRCURL=https://github.com/github/hub/archive/v${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_DEPENDS="git" diff --git a/packages/hub/script-build.patch b/packages/hub/script-build.patch new file mode 100644 index 000000000..4b565b76d --- /dev/null +++ b/packages/hub/script-build.patch @@ -0,0 +1,12 @@ +diff -u -r ../hub-2.8.3/script/build ./script/build +--- ../hub-2.8.3/script/build 2019-01-26 17:47:05.000000000 +0000 ++++ ./script/build 2019-01-27 08:10:53.521236847 +0000 +@@ -14,7 +14,7 @@ + build_hub() { + mkdir -p "$(dirname "$1")" + go build \ +- -ldflags "-X github.com/github/hub/version.Version=`./script/version` $LDFLAGS" \ ++ -ldflags "-X github.com/github/hub/version.Version=`./script/version`" \ + -gcflags "$GCFLAGS" \ + -asmflags "$ASMFLAGS" \ + -o "$1"