Source: gcc-defaults Followup-For: Bug #756120 Control: tags -1 patch Hi doko,
please find a patch for this attached. Cheers Jochen
>From 9a3dc5402a8cc2a20fafee8ce9eb9898d33f3b6f Mon Sep 17 00:00:00 2001 From: Jochen Sprickerhof <jspri...@debian.org> Date: Sat, 19 Aug 2023 21:22:26 +0200 Subject: [PATCH] Add libstdc++-doc package --- debian/control | 9 +++++++++ debian/control.native.in | 9 +++++++++ debian/rules | 2 +- 3 files changed, 19 insertions(+), 1 deletion(-) diff --git a/debian/control b/debian/control index dac97d2..38b5b7a 100644 --- a/debian/control +++ b/debian/control @@ -423,6 +423,15 @@ Description: GCC offloading compiler to AMD GCN . This is a dependency package providing the default AMD GCN offload compiler. +Package: libstdc++-doc +Section: doc +Priority: optional +Architecture: all +Depends: libstdc++-${pv:gpp}-doc ${reqv:gpp}, ${misc:Depends} +Description: GNU Standard C++ Library v3 (documentation files) + This is a dependency package providing the default documentation files for the + GNU stdc++ library. + Package: gcc-hppa64-linux-gnu Priority: optional Architecture: amd64 hppa i386 x32 diff --git a/debian/control.native.in b/debian/control.native.in index 2fbf2ed..b7c40d9 100644 --- a/debian/control.native.in +++ b/debian/control.native.in @@ -411,3 +411,12 @@ Description: GCC offloading compiler to AMD GCN This package contains libgomp plugin for offloading to AMD GCN . This is a dependency package providing the default AMD GCN offload compiler. + +Package: libstdc++-doc +Section: doc +Priority: optional +Architecture: all +Depends: libstdc++-${pv:gpp}-doc ${reqv:gpp}, ${misc:Depends} +Description: GNU Standard C++ Library v3 (documentation files) + This is a dependency package providing the default documentation files for the + GNU stdc++ library. diff --git a/debian/rules b/debian/rules index 212fd83..3725f0d 100755 --- a/debian/rules +++ b/debian/rules @@ -1247,7 +1247,7 @@ ifeq ($(with_native),yes) dh_testroot # dh_installdebconf dh_installdocs -pcpp - for p in `dh_listpackages $(nopkgs_native) -Ncpp $(if $(filter yes,$(with_gfdl_docs)),-Ncpp-doc -Ngcc-doc -Ngfortran-doc -Ngccgo-doc) -Ngdc -Nlibgphobos-dev`; do \ + for p in `dh_listpackages $(nopkgs_native) -Ncpp $(if $(filter yes,$(with_gfdl_docs)),-Ncpp-doc -Ngcc-doc -Ngfortran-doc -Ngccgo-doc) -Ngdc -Nlibgphobos-dev -Nlibstdc++-doc`; do \ case "$$p" in \ *-gnu*|*-kfreebsd*|gcc-hppa64-linux-gnu) continue;; \ *) t=cpp; \ -- 2.40.1