Source: cmark-gfm
Version: 0.29.0.gfm.6-2.1
Severity: wishlist
Tags: patch

Hi, could you please mark cmark-gfm as Multi-Arch: foreign? This would allow
packages depending on cmark-gfm to perform cross-builds without issues; they
currently have to manually specify :native on the build dependency.

I've submitted a similar bug report for the regular cmark, bug #1027147.

Thank you :)


-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.0.0-6-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

-- no debconf information
>From d95603460599fd61c0b8530e9cda0654cf6390e0 Mon Sep 17 00:00:00 2001
From: Andrea Pappacoda <[email protected]>
Date: Wed, 28 Dec 2022 18:18:56 +0100
Subject: [PATCH] d/control: mark cmark-gfm as Multi-Arch: foreign

This allows packages that depend on cmark-gfm to do cross-builds without
issues.
---
 debian/control    | 1 +
 debian/control-in | 1 +
 2 files changed, 2 insertions(+)

diff --git a/debian/control b/debian/control
index 9ad7d44..97609e8 100644
--- a/debian/control
+++ b/debian/control
@@ -9,6 +9,7 @@ Standards-Version: 4.6.0.1
 
 Package: cmark-gfm
 Architecture: any
+Multi-Arch: foreign
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: CommonMark parsing and rendering program, GitHub flavor
  cmark-gfm is the GitHub flavor of the cmark C reference
diff --git a/debian/control-in b/debian/control-in
index e9658ab..ce82c58 100644
--- a/debian/control-in
+++ b/debian/control-in
@@ -9,6 +9,7 @@ Standards-Version: 4.6.0.1
 
 Package: cmark-gfm
 Architecture: any
+Multi-Arch: foreign
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: CommonMark parsing and rendering program, GitHub flavor
  cmark-gfm is the GitHub flavor of the cmark C reference
-- 
2.39.0

Reply via email to