Bug#1141806: [PATCH 1/3] d/patch: relax hex dependency with patch 2004

Rafael Passos <[email protected]> Mon, 3 Aug 2026 14:55:50 -0300
Newsgroups gmane.linux.debian.devel.bugs.rc
Message-ID <[email protected]>
Signed-off-by: Rafael Passos <[email protected]>
---
 .../2004-relax-hex-literal-dependency.patch     | 17 +++++++++++++++++
 debian/patches/series                           |  1 +
 2 files changed, 18 insertions(+)
 create mode 100644 debian/patches/2004-relax-hex-literal-dependency.patch

diff --git a/debian/patches/2004-relax-hex-literal-dependency.patch b/debia=
n/patches/2004-relax-hex-literal-dependency.patch
new file mode 100644
index 0000000..82e1b80
--- /dev/null
+++ b/debian/patches/2004-relax-hex-literal-dependency.patch
@@ -0,0 +1,17 @@
+Description: relax hex-literal dependency
+Author: Rafael Passos <[email protected]>
+Forwarded: not-needed
+Last-Update: 2026-08-03
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/Cargo.toml
++++ b/Cargo.toml
+@@ -39,7 +39,7 @@ thiserror =3D "2.0"
+ [dev-dependencies]
+ assert_matches =3D "1.5.0"
+ base64 =3D "0.22.1"
+-hex-literal =3D "0.4.1"
++hex-literal =3D ">=3D0.4, <1.2"
+ num-bigint =3D "0.4.6"
+ once_cell =3D "1.21.3"
+ prio =3D { path =3D ".", features =3D ["crypto-dependencies", "test-util"=
] }
diff --git a/debian/patches/series b/debian/patches/series
index 9af9ade..f1433ac 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@
 1002_newer_rand.patch
 2001_no_bench.patch
 2003_avoid_modinverse.patch
+2004-relax-hex-literal-dependency.patch
--=20
2.53.0