From owner-svn-ports-head@freebsd.org Thu Jun 4 15:25:36 2020 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8B40F2F74AB; Thu, 4 Jun 2020 15:25:36 +0000 (UTC) (envelope-from jbeich@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 "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49d8jr3BBgz453R; Thu, 4 Jun 2020 15:25:36 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 688A421937; Thu, 4 Jun 2020 15:25:36 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 054FPaYK072672; Thu, 4 Jun 2020 15:25:36 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 054FPamx072671; Thu, 4 Jun 2020 15:25:36 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <202006041525.054FPamx072671@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Thu, 4 Jun 2020 15:25:36 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r537902 - in head/devel/git-cinnabar: . files X-SVN-Group: ports-head X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: in head/devel/git-cinnabar: . files X-SVN-Commit-Revision: 537902 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jun 2020 15:25:36 -0000 Author: jbeich Date: Thu Jun 4 15:25:35 2020 New Revision: 537902 URL: https://svnweb.freebsd.org/changeset/ports/537902 Log: devel/git-cinnabar: unbreak after r537899 helper/cinnabar-fast-import.c:12:10: fatal error: 'sha1-array.h' file not found #include "sha1-array.h" ^~~~~~~~~~~~~~ In file included from helper/hg-connect-stdio.c:3: In file included from helper/hg-connect-internal.h:4: helper/hg-connect.h:6:10: fatal error: 'sha1-array.h' file not found #include "sha1-array.h" ^~~~~~~~~~~~~~ Obtained from: upstream Added: head/devel/git-cinnabar/files/ head/devel/git-cinnabar/files/patch-git-2.27 (contents, props changed) Modified: head/devel/git-cinnabar/Makefile (contents, props changed) Modified: head/devel/git-cinnabar/Makefile ============================================================================== --- head/devel/git-cinnabar/Makefile Thu Jun 4 15:19:33 2020 (r537901) +++ head/devel/git-cinnabar/Makefile Thu Jun 4 15:25:35 2020 (r537902) @@ -2,6 +2,7 @@ PORTNAME= git-cinnabar DISTVERSION= 0.5.5 +PORTREVISION= 1 CATEGORIES= devel MAINTAINER= jbeich@FreeBSD.org Added: head/devel/git-cinnabar/files/patch-git-2.27 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/git-cinnabar/files/patch-git-2.27 Thu Jun 4 15:25:35 2020 (r537902) @@ -0,0 +1,57 @@ +https://github.com/glandium/git-cinnabar/commit/81c1269f2e7d + +--- helper/GIT-VERSION.mk.orig 2020-04-23 06:16:13 UTC ++++ helper/GIT-VERSION.mk +@@ -1,2 +1,2 @@ +-GIT_VERSION ?= v2.26.2 ++GIT_VERSION ?= v2.27.0 + WINDOWS_GIT_VERSION ?= $(GIT_VERSION).windows.1 +--- helper/cinnabar-fast-import.c.orig 2020-04-23 06:16:13 UTC ++++ helper/cinnabar-fast-import.c +@@ -9,7 +9,7 @@ static void start_packfile(); + #include "hg-bundle.h" + #include "hg-data.h" + #include "list.h" +-#include "sha1-array.h" ++#include "oid-array.h" + #include "strslice.h" + #include "tree-walk.h" + +@@ -131,6 +131,8 @@ static void init() + avail_tree_table = xcalloc(avail_tree_table_sz, sizeof(struct avail_tree_content*)); + marks = mem_pool_calloc(&fi_mem_pool, 1, sizeof(struct mark_set)); + ++ hashmap_init(&object_table, object_entry_hashcmp, NULL, 0); ++ + global_argc = 1; + + rc_free = mem_pool_alloc(&fi_mem_pool, cmd_save * sizeof(*rc_free)); +@@ -266,7 +268,7 @@ static uintmax_t parse_mark_ref(const char *p, char ** + e->pack_id = MAX_PACK_ID; + e->idx.offset = 1; + } +- insert_mark(2, e); ++ insert_mark(marks, 2, e); + return 2; + } + +@@ -462,7 +464,7 @@ static void do_set(struct string_list *args) + + if (args->items[2].string[0] == ':') { + uintmax_t mark = parse_mark_ref_eol(args->items[2].string); +- struct object_entry *oe = find_mark(mark); ++ struct object_entry *oe = find_mark(marks, mark); + oidcpy(&git_id, &oe->idx.oid); + } else if (get_oid_hex(args->items[2].string, &git_id)) + die("Invalid sha1"); +--- helper/hg-connect.h.orig 2020-04-23 06:16:13 UTC ++++ helper/hg-connect.h +@@ -3,7 +3,7 @@ + + #include "cinnabar-util.h" + #include "run-command.h" +-#include "sha1-array.h" ++#include "oid-array.h" + #include "string-list.h" + + struct hg_connection {