Source: rust-leptonica-sys
Version: 0.4.9-1
Severity: normal
Tags: patch
X-Debbugs-Cc: noisyc...@tutanota.com

Hi,

bindgen v0.71 will be in experimental in a few hours and we plan to upload it
to unstable in the near future. Updating rust-leptonica-sys is straightforward,
but I'm attaching a patch for your convenience.

Cheers!
>From c32fbffec8e3310f497f7df1f6314568847cc8f3 Mon Sep 17 00:00:00 2001
From: NoisyCoil <noisyc...@tutanota.com>
Date: Sat, 25 Jan 2025 21:42:11 +0100
Subject: [PATCH] Update to bindgen v0.71

---
 debian/control                       | 4 ++--
 debian/patches/1001_bindgen.patch    | 2 +-
 debian/patches/2002_no_windows.patch | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/debian/control b/debian/control
index 8e9327d..8ad20d8 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,7 @@ Build-Depends:
  debhelper-compat (= 13),
  dh-sequence-rust,
  libleptonica-dev,
- librust-bindgen-0.70+default-dev,
+ librust-bindgen-0.71+default-dev,
  librust-pkg-config-0.3+default-dev,
 Maintainer: Jonas Smedegaard <d...@jones.dk>
 Standards-Version: 4.7.0
@@ -19,7 +19,7 @@ Architecture: all
 Multi-Arch: foreign
 Depends:
  libleptonica-dev,
- librust-bindgen-0.70+default-dev,
+ librust-bindgen-0.71+default-dev,
  librust-pkg-config-0.3+default-dev,
  ${misc:Depends},
 Provides:
diff --git a/debian/patches/1001_bindgen.patch 
b/debian/patches/1001_bindgen.patch
index 8affd5a..2860784 100644
--- a/debian/patches/1001_bindgen.patch
+++ b/debian/patches/1001_bindgen.patch
@@ -10,7 +10,7 @@ This patch header follows DEP-3: 
http://dep.debian.net/deps/dep3/
  
  [build-dependencies]
 -bindgen = "0.64.0"
-+bindgen = ">= 0.64, <= 0.70"
++bindgen = ">= 0.64, <= 0.71"
  
  [target.'cfg(windows)'.build-dependencies]
  vcpkg = "0.2.15"
diff --git a/debian/patches/2002_no_windows.patch 
b/debian/patches/2002_no_windows.patch
index e4e6fdf..7ff510d 100644
--- a/debian/patches/2002_no_windows.patch
+++ b/debian/patches/2002_no_windows.patch
@@ -8,7 +8,7 @@ This patch header follows DEP-3: 
http://dep.debian.net/deps/dep3/
 +++ b/Cargo.toml
 @@ -14,8 +14,5 @@
  [build-dependencies]
- bindgen = ">= 0.64, <= 0.70"
+ bindgen = ">= 0.64, <= 0.71"
  
 -[target.'cfg(windows)'.build-dependencies]
 -vcpkg = "0.2.15"
-- 
2.45.2

Reply via email to