[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#678623: libstdc++6-4.7-dev: Please make libstdc++6-4.7-dev m-a: same



Package: libstdc++6-4.7-dev
Severity: wishlist
Tags: patch

It would be useful for libstdc++6-4.7-dev to be m-a: same, since it would
enable multiarch c++ cross-compilers (third-parties or not) to depend on the
target libstdc++6-4.7-dev.

The attached patch should fix that, by dropping the g++-4.7 dependency and
marking libstdc++6-4.7-dev m-a: same.



-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (120, 'unstable'), (105, 'experimental')
Architecture: i386 (i686)
Foreign Architectures: armhf
amd64
armel

Kernel: Linux 3.2.0-2-686-pae (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
# HG changeset patch
# User Thibaut Girka <thib@sitedethib.com>
# Date 1340362828 -7200
# Node ID 7fc890d5a61ea8bcc53cd5f666fa22aefb31d183
# Parent  723860cc0c2c41485abefbc0259c1d323d640dfa
Drop g++-4.7 from libstdc++*-dev's deps and make it Multi-Arch: same

diff --git a/debian/control.m4 b/debian/control.m4
--- a/debian/control.m4
+++ b/debian/control.m4
@@ -2128,7 +2128,9 @@
 Architecture: ifdef(`TARGET',`all',`any')
 Section: ifdef(`TARGET',`devel',`libdevel')
 Priority: ifdef(`TARGET',`extra',PRI(optional))
-Depends: BASEDEP, g++`'PV`'TS (= ${gcc:Version}), libstdc++CXX_SO`'LS (>= ${gcc:Version}), ${dep:libcdev}, ${misc:Depends}
+ifdef(`MULTIARCH', `Multi-Arch: same
+')`'dnl
+Depends: BASEDEP, libstdc++CXX_SO`'LS (>= ${gcc:Version}), ${dep:libcdev}, ${misc:Depends}
 ifdef(`TARGET',`',`dnl native
 Conflicts: libg++27-dev, libg++272-dev (<< 2.7.2.8-1), libstdc++2.8-dev, libg++2.8-dev, libstdc++2.9-dev, libstdc++2.9-glibc2.1-dev, libstdc++2.10-dev (<< 1:2.95.3-2), libstdc++3.0-dev
 Suggests: libstdc++CXX_SO`'PV-doc

Reply to: