aports/testing/reaction/bindgen-0.72.patch

63 lines
1.7 KiB
Diff

From d3ce1d64d5711bf1064cd32ab0b9154a3ed4c986 Mon Sep 17 00:00:00 2001
From: Aelin <aelin@postmarketos.org>
Date: Thu, 5 Mar 2026 21:45:48 +0100
Subject: [PATCH] bindgen 0.72
---
Cargo.lock | 9 ++++-----
Cargo.toml | 3 +++
2 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index f5b71b2..1e9e44b 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -259,9 +259,9 @@ dependencies = [
[[package]]
name = "bindgen"
-version = "0.70.1"
+version = "0.72.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f49d8fed880d473ea71efb9bf597651e77201bdd4893efe54c9e5d65ae04ce6f"
+checksum = "993776b509cfb49c750f11b8f07a46fa23e0a1386ffc01fb1e7d343efc387895"
dependencies = [
"bitflags",
"cexpr",
@@ -272,7 +272,7 @@ dependencies = [
"proc-macro2",
"quote",
"regex",
- "rustc-hash 1.1.0",
+ "rustc-hash 2.1.1",
"shlex",
"syn 2.0.114",
]
@@ -1591,8 +1591,7 @@ checksum = "469fb0b9cefa57e3ef31275ee7cacb78f2fdca44e4765491884a2b119d4eb130"
[[package]]
name = "ipset"
version = "0.9.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d3f6539e7df6df265a48ac3bfa1cc1b9fb37b604c92e9ab01521865e2323787f"
+source = "git+https://github.com/Gelbpunkt/ipset.git?branch=bindgen-0.72#df6e242e27bdfc713ab38b7c28691805ba6551b0"
dependencies = [
"bindgen",
"cc",
diff --git a/Cargo.toml b/Cargo.toml
index dd537aa..a5c6eb5 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -77,6 +77,9 @@ assert_fs.workspace = true
assert_cmd = "2.0.17"
predicates = "3.1.3"
+[patch.crates-io]
+ipset = { git = "https://github.com/Gelbpunkt/ipset.git", branch = "bindgen-0.72" }
+
[workspace]
members = [
"crates/treedb",
--
2.53.0