Source: libusrsctp
Version: 0.9.3.0+20190127-2
Tags: patch
User: multiarch-de...@lists.alioth.debian.org
Usertags: multiarch


Hi

Please find attached a patch to mark the library and development
packages in libusrsctp as "Multi-Arch: same".

I rebuilt your package with my proposed patch applied and successfully
co-installed all packages from amd64 and i386.



Background:

Wine requires gstreamer1.0-plugins-bad to play some media.  To support
both 32-bit and 64-bit Windows executables Wine needs to be installed on
two architectures, usually amd64 being the host arch and i386 the
foreign arch.  Both Wine versions need their libraries from the same
arch, so gstreamer1.0-plugins-bad:amd64 and
gstreamer1.0-plugins-bad:i386 need to be co-installed.

gstreamer1.0-plugins-bad itself supports this, but some of its
dependencies not.  From src:libusrsctp this is libusrsctp1.


Generally the multi-arch hinter at https://tracker.debian.org/libusrsctp
currently reports:

There are issues with the multiarch metadata for this package.

    libusrsctp-dev could be marked Multi-Arch: same
    libusrsctp1 could be marked Multi-Arch: same


Thanks and greets
jre
>From c786b4727f3345e671e9d32d36f1a01c0c9c7a22 Mon Sep 17 00:00:00 2001
From: Jens Reyer <jre.wine...@gmail.com>
Date: Sat, 17 Aug 2019 17:27:58 +0200
Subject: Mark shared libraries and development packages as "Multi-Arch: same"

This adds the "Multi-Arch: same" header to the following packages:
  libusrsctp1
  libusrsctp-dev

diff --git a/debian/control b/debian/control
index 12b6943..8f80741 100644
--- a/debian/control
+++ b/debian/control
@@ -19,6 +19,7 @@ Rules-Requires-Root: no
 Package: libusrsctp1
 Section: libs
 Architecture: any
+Multi-Arch: same
 Depends:
  ${misc:Depends},
  ${shlibs:Depends},
@@ -35,6 +36,7 @@ Description: portable SCTP userland stack - shared library
 Package: libusrsctp-dev
 Section: libdevel
 Architecture: any
+Multi-Arch: same
 Depends:
  libusrsctp1 (= ${binary:Version}),
  ${misc:Depends},

Reply via email to