File: 1001_bindgen.patch

package info (click to toggle)
rust-tesseract-sys 0.6.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 228 kB
  • sloc: makefile: 2; cpp: 1; sh: 1; ansic: 1
file content (19 lines) | stat: -rw-r--r-- 625 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: accept newer branches of crate bindgen
Author: Jonas Smedegaard <dr@jones.dk>
Bug-Debian: https://bugs.debian.org/1051244
Bug-Debian: https://bugs.debian.org/1087403
Bug-Debian: https://bugs.debian.org/1110058
Last-Update: 2025-08-04
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -15,7 +15,7 @@
 leptonica-sys = "~0.4"
 
 [build-dependencies]
-bindgen = "0.64"
+bindgen = ">= 0.64, <= 0.72"
 [target.'cfg(windows)'.build-dependencies]
 vcpkg = "0.2.8"
 [target.'cfg(any(target_os="macos", target_os="linux", target_os="freebsd"))'.build-dependencies]