From nobody Sat Aug 10 00:42:02 2024 X-Original-To: dev-commits-ports-main@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 4Wghn657C0z5SvNC; Sat, 10 Aug 2024 00:42:02 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Wghn648D3z3x0x; Sat, 10 Aug 2024 00:42:02 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1723250522; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=NR9OQpffOAj60RXtfg2opV5bU39O7AnDz6XAYFfuzeo=; b=elOu5EigASkvW7G2e8ZGS+3KtflpxxbrpQP/K2oGnJN5rXKsDK2gDo8Aj3hQ8xanLJ94rg P6YvQRKV1HEjflE88LXcQ11JqJELC4ZwryLvuq/0peKrtS5CdCzCimPJ8hq3QkXMoeBf1C BGWKpxSJJbZ1DlzBkgZh0Co/a9dQt6sESHSqk/8RAv+saU9ZW2RJ3dvxrKAi2TQqjFlfqH 1alQCku5JRQoI0FM5qEoGE6c0z7sKVlL3Ht1s1b5lQsLDAujyxoP4//Hl7zNNHvcemWVec 0h+B5YGe7UTPfCVhrJh0lFexbqphh8JegxUnNN2yMGEHjXo78R1AWu/E5FHmhQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1723250522; a=rsa-sha256; cv=none; b=AJooKNQ5gvgyP/0vtYIdBFgOpf0jVdoInJEsQ3R/5TAbPiDXnRykszzwwomQ1gfmGQgadz QW6uxkt58mzLjIERUvDaKCpITdIvj7shYlpuOaqvjhpIc9kkj7MTCnIwCe5/iBHHBpNueo E8edenpyL0Hc2i7uPTziJKxOfKDYbriWM2VlKOCyPbhty2ikaZ1p5HEG4DobQelD/YDcwj EQAjPqCr/qAbTWMsPMZT+bO3OUZ9652hT/t1ysXPTncpAWaFmdQLZOVOL45esCt2rzGGfq HUQHRzYJG7BDNGy9CUlYaJjPcKzfKzjWmT/LjhZk5XLklzbSuu08fbanhIzvFQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1723250522; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=NR9OQpffOAj60RXtfg2opV5bU39O7AnDz6XAYFfuzeo=; b=tGEZWP0L0Yb7/wUZQoI2xU3aKW5379n6sS2+T0CGciE2a385rE1AYRcYm7NQGly7xEf9Df NJjTsgixOpgyhyPIq9L79K2bLexjHGskwtNTjaX0+aHOqCfWVaUObHTdECwzM9T3ph2lqU TlZXpzjto0gy/k4y2ftcB7W+lnhTJCwotsUnLlmWE3L/KEUPWi5PLzwLRP0NDXU8hN12DA x4kU+MDEwaRJJYQwlytEg7d9h8m0G/R5vIHK9Syec02A/ERDRFywAjlS3OSCgZl4HjLFQb 5NDWB/cF7IYsK67lwUz158tVCTGjhCy2mD2dzNcZtUIgV+bVzll66Dgh1RzOmQ== 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 4Wghn63lchzf2c; Sat, 10 Aug 2024 00:42:02 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 47A0g2UC025876; Sat, 10 Aug 2024 00:42:02 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 47A0g2sI025873; Sat, 10 Aug 2024 00:42:02 GMT (envelope-from git) Date: Sat, 10 Aug 2024 00:42:02 GMT Message-Id: <202408100042.47A0g2sI025873@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: 84ce872284e3 - main - devel/cargo-c: unbreak build with libgit2 1.8.1 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@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: 84ce872284e30424e2691199d40023a852b13563 Auto-Submitted: auto-generated The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=84ce872284e30424e2691199d40023a852b13563 commit 84ce872284e30424e2691199d40023a852b13563 Author: Jan Beich AuthorDate: 2024-08-09 23:12:27 +0000 Commit: Jan Beich CommitDate: 2024-08-10 00:41:35 +0000 devel/cargo-c: unbreak build with libgit2 1.8.1 warning: libgit2-sys@0.16.2+1.7.2: failed to probe system libgit2: [...] warning: libgit2-sys@0.16.2+1.7.2: libgit2/src/libgit2/transports/ssh.c:11:10: fatal error: 'libssh2.h' file not found warning: libgit2-sys@0.16.2+1.7.2: 11 | #include warning: libgit2-sys@0.16.2+1.7.2: | ^~~~~~~~~~~ warning: libgit2-sys@0.16.2+1.7.2: 1 error generated. PR: 280706 Reported by: eduardo --- devel/cargo-c/files/patch-libgit2-1.8.x | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/devel/cargo-c/files/patch-libgit2-1.8.x b/devel/cargo-c/files/patch-libgit2-1.8.x new file mode 100644 index 000000000000..b0ec8036a466 --- /dev/null +++ b/devel/cargo-c/files/patch-libgit2-1.8.x @@ -0,0 +1,13 @@ +https://github.com/rust-lang/git2-rs/commit/b534e13f38c6 + +--- cargo-crates/libgit2-sys-0.16.2+1.7.2/build.rs.orig 2006-07-24 01:21:28 UTC ++++ cargo-crates/libgit2-sys-0.16.2+1.7.2/build.rs +@@ -7,7 +7,7 @@ fn try_system_libgit2() -> Result Result { + let mut cfg = pkg_config::Config::new(); +- match cfg.range_version("1.7.2".."1.8.0").probe("libgit2") { ++ match cfg.range_version("1.7.2".."1.9.0").probe("libgit2") { + Ok(lib) => { + for include in &lib.include_paths { + println!("cargo:root={}", include.display());