Package: hippotat
Version: 1.1.11
Severity: normal
Tags: patch
X-Debbugs-Cc: werdah...@riseup.net


Hi,

we recently updated rust-base64 in Debian to 0.22. Since your package
depends on this library this needs an updated. For your convenience I
attached a patch facilitating this.

best,

werdahias



-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.10.11-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: OpenRC (via /run/openrc), PID 1: openrc-init
LSM: AppArmor: enabled
commit 2756b4ce52a6619c445c94b0a5a178ca5dddce42
Author: Matthias Geiger <werdah...@riseup.net>
Date:   Mon Oct 7 17:09:51 2024 +0200

    Add patch to build with base64 0.22

diff --git a/debian/control b/debian/control
index 3e00749..a019816 100644
--- a/debian/control
+++ b/debian/control
@@ -9,7 +9,7 @@ Build-Depends: debhelper (>= 12), cargo, rustc, python3-sphinx,
                moreutils, libssl-dev (>= 1.1), pkg-config,
 # debian/update-build-deps manages these:
     librust-backtrace-dev (>= 0.3.3~) <!upstream-cargo>,
-    librust-base64-dev (>= 0.21~) <!upstream-cargo>,
+    librust-base64-dev (>= 0.22~) <!upstream-cargo>,
     librust-cfg-if-dev (>= 1~) <!upstream-cargo>,
     librust-clap+derive-dev (>= 4~) <!upstream-cargo>,
     librust-easy-ext-dev (>= 1~) <!upstream-cargo>,
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..bfeeaac
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+use-base64-0.22.diff
diff --git a/debian/patches/use-base64-0.22.diff 
b/debian/patches/use-base64-0.22.diff
new file mode 100644
index 0000000..25f75e8
--- /dev/null
+++ b/debian/patches/use-base64-0.22.diff
@@ -0,0 +1,11 @@
+--- a/Cargo.toml
++++ b/Cargo.toml
+@@ -29,7 +29,7 @@
+ hippotat-macros = { version = "1.1.3", path = "macros" }
+ 
+ backtrace = "0.3.3"
+-base64 = "0.21"
++base64 = "0.22"
+ # clap 3 would work too at the time of writing, but it lacks the `wrap_help`
+ # feature - that's built-in there.
+ cfg-if = "1"

Reply via email to