Source: rust-wasmtime
Version: 26.0.1+dfsg-1
Severity: normal
Tags: patch
X-Debbugs-Cc: noisyc...@tutanota.com

Hi!

capstone v0.13 was just uploaded to experimental and we intend to downlift it
to unstable in the near future. I tested that src:rust-wasmtime compiles and
its autopkgtests pass with v0.13 using the patch in attachment.

Cheers!
>From 6d1744c798de93d45ae2e6b7606d0ab8893946e5 Mon Sep 17 00:00:00 2001
From: NoisyCoil <noisyc...@tutanota.com>
Date: Sun, 9 Feb 2025 10:34:12 +0100
Subject: [PATCH] Bump capstone dependency to v0.13

---
 debian/control                     | 4 ++--
 debian/patches/2001_capstone.patch | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/debian/control b/debian/control
index 0f95b59af..bf788e8b7 100644
--- a/debian/control
+++ b/debian/control
@@ -8,7 +8,7 @@ Build-Depends:
  librust-anyhow-1+std-dev,
  librust-bincode-1+default-dev,
  librust-bumpalo-3+default-dev,
- librust-capstone-0.11+default-dev,
+ librust-capstone-0.13+default-dev,
  librust-codespan-reporting-0.11+default-dev,
  librust-env-logger-0.11+default-dev,
  librust-gimli-0.31+read-dev,
@@ -48,7 +48,7 @@ Depends:
  librust-anyhow-1+std-dev,
  librust-bincode-1+default-dev,
  librust-bumpalo-3+default-dev,
- librust-capstone-0.11+default-dev,
+ librust-capstone-0.13+default-dev,
  librust-codespan-reporting-0.11+default-dev,
  librust-env-logger-0.11+default-dev,
  librust-gimli-0.31+read-dev,
diff --git a/debian/patches/2001_capstone.patch 
b/debian/patches/2001_capstone.patch
index b6841ed02..112885d07 100644
--- a/debian/patches/2001_capstone.patch
+++ b/debian/patches/2001_capstone.patch
@@ -1,7 +1,7 @@
-Description: accept older branch of crate capstone
+Description: accept different branch of crate capstone
 Author: Jonas Smedegaard <d...@jones.dk>
 Forwarded: not-needed
-Last-Update: 2024-05-17
+Last-Update: 2025-02-10
 ---
 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
 --- a/Cargo.toml
@@ -11,7 +11,7 @@ This patch header follows DEP-3: 
http://dep.debian.net/deps/dep3/
  clap_complete = "4.4.7"
  hashbrown = { version = "0.14", default-features = false }
 -capstone = "0.12.0"
-+capstone = ">= 0.11.0, <= 0.12"
++capstone = ">= 0.11.0, <= 0.13"
  once_cell = { version = "1.12.0", default-features = false }
  smallvec = { version = "1.6.1", features = ["union"] }
  tracing = "0.1.26"
-- 
2.47.2

Reply via email to