summaryrefslogtreecommitdiff
path: root/debian/patches/libstdc++-man-3cxx.diff
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/libstdc++-man-3cxx.diff')
-rw-r--r--debian/patches/libstdc++-man-3cxx.diff14
1 files changed, 9 insertions, 5 deletions
diff --git a/debian/patches/libstdc++-man-3cxx.diff b/debian/patches/libstdc++-man-3cxx.diff
index 56ba16e..6d6ceaf 100644
--- a/debian/patches/libstdc++-man-3cxx.diff
+++ b/debian/patches/libstdc++-man-3cxx.diff
@@ -1,8 +1,10 @@
# DP: Install libstdc++ man pages with suffix .3cxx instead of .3
+Index: b/src/libstdc++-v3/doc/doxygen/user.cfg.in
+===================================================================
--- a/src/libstdc++-v3/doc/doxygen/user.cfg.in
+++ b/src/libstdc++-v3/doc/doxygen/user.cfg.in
-@@ -1388,7 +1388,7 @@
+@@ -1478,7 +1478,7 @@
# The MAN_EXTENSION tag determines the extension that is added to
# the generated man pages (default is the subroutine's section .3)
@@ -11,6 +13,8 @@
# If the MAN_LINKS tag is set to YES and Doxygen generates man output,
# then it will generate one additional man file for each entity
+Index: b/src/libstdc++-v3/scripts/run_doxygen
+===================================================================
--- a/src/libstdc++-v3/scripts/run_doxygen
+++ b/src/libstdc++-v3/scripts/run_doxygen
@@ -235,6 +235,7 @@
@@ -32,10 +36,10 @@
oldh=`sed -n '/fC#include </s/.*<\(.*\)>.*/\1/p' $f`
@@ -269,7 +270,7 @@
# Some of the pages for generated modules have text that confuses certain
- # implementations of man(1), e.g., Linux's. We need to have another top-level
- # *roff tag to /stop/ the .SH NAME entry.
+ # implementations of man(1), e.g. on GNU/Linux. We need to have another
+ # top-level *roff tag to /stop/ the .SH NAME entry.
-problematic=`egrep --files-without-match '^\.SH SYNOPSIS' [A-Z]*.3`
-+problematic=`egrep --files-without-match '^\.SH SYNOPSIS' [A-Z]*.3 [A-Z]*.3cxx`
++problematic=`egrep --files-without-match '^\.SH SYNOPSIS' [A-Z]*.3cxx`
#problematic='Containers.3 Sequences.3 Assoc_containers.3 Iterator_types.3'
for f in $problematic; do
@@ -48,7 +52,7 @@
for f in $problematic; do
sed 's/Definition at line/\
.PP\
-@@ -388,8 +389,8 @@
+@@ -383,8 +384,8 @@
istringstream ostringstream stringstream filebuf ifstream \
ofstream fstream string;
do