From nobody Tue Oct 12 16:57:12 2021 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 17CE61802415; Tue, 12 Oct 2021 16:57:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HTMK50ByQz4qR6; Tue, 12 Oct 2021 16:57:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D070818380; Tue, 12 Oct 2021 16:57:12 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 19CGvCRq044826; Tue, 12 Oct 2021 16:57:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 19CGvCYM044825; Tue, 12 Oct 2021 16:57:12 GMT (envelope-from git) Date: Tue, 12 Oct 2021 16:57:12 GMT Message-Id: <202110121657.19CGvCYM044825@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jan Beich Subject: git: 2096f8f0c0e7 - main - devel/git-cinnabar: unbreak after 65831666797c List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jbeich X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2096f8f0c0e7614e633900f3a6a141bdbd60da07 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=2096f8f0c0e7614e633900f3a6a141bdbd60da07 commit 2096f8f0c0e7614e633900f3a6a141bdbd60da07 Author: Jan Beich AuthorDate: 2021-10-12 16:34:52 +0000 Commit: Jan Beich CommitDate: 2021-10-12 16:56:22 +0000 devel/git-cinnabar: unbreak after 65831666797c patch -p1 -F0 -o helper/csum-file.patched.c git-core/csum-file.c < helper/csum-file.c.patch Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |diff --git a/csum-file.c b/csum-file.c |index 7510950fa3..19d02e3a63 100644 |--- a/csum-file.c |+++ b/csum-file.c -------------------------- Patching file git-core/csum-file.c using Plan A... Hunk #1 failed at 86. 1 out of 1 hunks failed--saving rejects to helper/csum-file.patched.c.rej done gmake[2]: *** [helper/helper.mk:99: helper/csum-file.patched.c] Error 1 --- devel/git-cinnabar/Makefile | 2 +- devel/git-cinnabar/files/patch-git-2.33 | 27 +++++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 1 deletion(-) diff --git a/devel/git-cinnabar/Makefile b/devel/git-cinnabar/Makefile index 156569027afe..e0c94286ab9f 100644 --- a/devel/git-cinnabar/Makefile +++ b/devel/git-cinnabar/Makefile @@ -1,6 +1,6 @@ PORTNAME= git-cinnabar DISTVERSION= 0.5.7 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= devel PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ diff --git a/devel/git-cinnabar/files/patch-git-2.33 b/devel/git-cinnabar/files/patch-git-2.33 new file mode 100644 index 000000000000..469b600e802c --- /dev/null +++ b/devel/git-cinnabar/files/patch-git-2.33 @@ -0,0 +1,27 @@ +https://github.com/glandium/git-cinnabar/commit/ea33ee10ac39 + +--- helper/GIT-VERSION.mk.orig 2021-03-31 21:58:42 UTC ++++ helper/GIT-VERSION.mk +@@ -1,2 +1,2 @@ +-GIT_VERSION ?= v2.32.0 ++GIT_VERSION ?= v2.33.0 + WINDOWS_GIT_VERSION ?= $(GIT_VERSION).windows.1 +--- helper/csum-file.c.patch.orig 2021-03-31 21:58:42 UTC ++++ helper/csum-file.c.patch +@@ -1,8 +1,8 @@ + diff --git a/csum-file.c b/csum-file.c +-index 7510950fa3..19d02e3a63 100644 ++index c951cf8277..1215459b01 100644 + --- a/csum-file.c + +++ b/csum-file.c +-@@ -86,7 +86,7 @@ int finalize_hashfile(struct hashfile *f, unsigned char *result, unsigned int fl ++@@ -91,7 +91,7 @@ int finalize_hashfile(struct hashfile *f, unsigned char *result, unsigned int fl + return fd; + } + +@@ -10,4 +10,4 @@ index 7510950fa3..19d02e3a63 100644 + +void real_hashwrite(struct hashfile *f, const void *buf, unsigned int count) + { + while (count) { +- unsigned left = sizeof(f->buffer) - f->offset; ++ unsigned left = f->buffer_len - f->offset;