Source: rust-tesseract-sys
Version: 0.6.1-3
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-tesseract-sys is straightforward,
but I'm attaching a patch for your convenience.

Cheers!
>From 0223a1ed6d681c14aa923ef383e3b6c7f50565bc Mon Sep 17 00:00:00 2001
From: NoisyCoil <noisyc...@tutanota.com>
Date: Sat, 25 Jan 2025 23:28:26 +0100
Subject: [PATCH] Update bindgen to 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 927f339..c808b05 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,7 @@ Build-Depends:
  clang <!nocheck>,
  debhelper-compat (= 13),
  dh-sequence-rust,
- librust-bindgen-0.70+default-dev,
+ librust-bindgen-0.71+default-dev,
  librust-leptonica-sys-0.4+default-dev,
  librust-pkg-config-0.3+default-dev,
  libtesseract-dev <!nocheck>,
@@ -21,7 +21,7 @@ Package: librust-tesseract-sys-dev
 Architecture: all
 Multi-Arch: foreign
 Depends:
- librust-bindgen-0.70+default-dev,
+ librust-bindgen-0.71+default-dev,
  librust-leptonica-sys-0.4+default-dev,
  librust-pkg-config-0.3+default-dev,
  libtesseract-dev,
diff --git a/debian/patches/1001_bindgen.patch 
b/debian/patches/1001_bindgen.patch
index 24a87c1..7c9c4b4 100644
--- a/debian/patches/1001_bindgen.patch
+++ b/debian/patches/1001_bindgen.patch
@@ -12,7 +12,7 @@ This patch header follows DEP-3: 
http://dep.debian.net/deps/dep3/
  
  [build-dependencies]
 -bindgen = "0.64"
-+bindgen = ">= 0.64, <= 0.70"
++bindgen = ">= 0.64, <= 0.71"
  [target.'cfg(windows)'.build-dependencies]
  vcpkg = "0.2.8"
  [target.'cfg(any(target_os="macos", target_os="linux", 
target_os="freebsd"))'.build-dependencies]
diff --git a/debian/patches/2002_no_windows.patch 
b/debian/patches/2002_no_windows.patch
index 0aef294..b76f065 100644
--- a/debian/patches/2002_no_windows.patch
+++ b/debian/patches/2002_no_windows.patch
@@ -9,7 +9,7 @@ This patch header follows DEP-3: 
http://dep.debian.net/deps/dep3/
 @@ -16,7 +16,5 @@
  
  [build-dependencies]
- bindgen = ">= 0.64, <= 0.70"
+ bindgen = ">= 0.64, <= 0.71"
 -[target.'cfg(windows)'.build-dependencies]
 -vcpkg = "0.2.8"
  [target.'cfg(any(target_os="macos", target_os="linux", 
target_os="freebsd"))'.build-dependencies]
-- 
2.45.2

Reply via email to