diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2017-05-13 13:54:49 +0300 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2017-05-13 13:54:49 +0300 |
commit | 42156b5190f4fa150e1fab6777eb81e69d4db8c9 (patch) | |
tree | 3bf47de81cf1f89892789535a036d2d55d93a136 /debian/patches/libstdc++-doclink.diff | |
download | gcc-9-42156b5190f4fa150e1fab6777eb81e69d4db8c9.tar.gz |
Imported gcc-6 (6.3.0-17)debian/6.3.0-17
Diffstat (limited to 'debian/patches/libstdc++-doclink.diff')
-rw-r--r-- | debian/patches/libstdc++-doclink.diff | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/debian/patches/libstdc++-doclink.diff b/debian/patches/libstdc++-doclink.diff new file mode 100644 index 0000000..c402fc9 --- /dev/null +++ b/debian/patches/libstdc++-doclink.diff @@ -0,0 +1,75 @@ +# DP: adjust hrefs to point to the local documentation + +--- + libstdc++-v3/doc/doxygen/mainpage.html | 10 +++++----- + 1 files changed, 5 insertions(+), 5 deletions(-) + +Index: b/src/libstdc++-v3/doc/doxygen/mainpage.html +=================================================================== +--- a/src/libstdc++-v3/doc/doxygen/mainpage.html ++++ b/src/libstdc++-v3/doc/doxygen/mainpage.html +@@ -27,10 +27,10 @@ + <p class="smallertext">Generated on @DATE@.</p> + + <p>There are two types of documentation for libstdc++. One is the +- distribution documentation, which can be read online +- <a href="http://gcc.gnu.org/onlinedocs/libstdc++/index.html">here</a> +- or offline from the file doc/html/index.html in the library source +- directory. ++ distribution documentation, which can be read ++ <a href="../index.html">offline in the documentation directory</a> ++ or ++ <a href="http://gcc.gnu.org/onlinedocs/libstdc++/index.html">online</a>. + </p> + + <p>The other type is the source documentation, of which this is the first page. +@@ -81,9 +81,10 @@ + This style guide can also be viewed on the <a href="http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01apas04.html">web</a>. + + <h2>License, Copyright, and Other Lawyerly Verbosity</h2> +-<p>The libstdc++ documentation is released under +- <a href="http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt01ch01s02.html"> +- these terms</a>. ++<p>The libstdc++ documentation is released under these terms ++ (<a href="../manual/license.html">read offline</a> or ++ <a href="http://gcc.gnu.org/onlinedocs/libstdc++/manual/license.html">read online</a>. ++ ). + </p> + <p>Part of the generated documentation involved comments and notes from + SGI, who says we gotta say this: +Index: b/src/libstdc++-v3/doc/html/api.html +=================================================================== +--- a/src/libstdc++-v3/doc/html/api.html ++++ b/src/libstdc++-v3/doc/html/api.html +@@ -20,6 +20,8 @@ + member functions for the library classes, finding out what is in a + particular include file, looking at inheritance diagrams, etc. + </p><p> ++<a class="link" href="user/index.html">The API documentation, rendered into HTML, can be viewed offline.</a> ++</p><p> + The API documentation, rendered into HTML, can be viewed online + <a class="link" href="http://gcc.gnu.org/onlinedocs/" target="_top">for each GCC release</a> + and +@@ -38,4 +40,4 @@ + </p><p> + In addition, a rendered set of man pages are available in the same + location specified above. Start with C++Intro(3). +-</p></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="bk02.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="bk02.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="bk03.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> </td></tr></table></div></body></html> +\ No newline at end of file ++</p></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="bk02.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="bk02.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="bk03.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> </td></tr></table></div></body></html> +Index: b/src/libstdc++-v3/doc/xml/api.xml +=================================================================== +--- a/src/libstdc++-v3/doc/xml/api.xml ++++ b/src/libstdc++-v3/doc/xml/api.xml +@@ -40,6 +40,11 @@ + </para> + + <para> ++ <ulink url="user/index.html">The source-level documentation for this release can be viewed offline. ++ </ulink> ++</para> ++ ++<para> + The API documentation, rendered into HTML, can be viewed online + <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://gcc.gnu.org/onlinedocs/">for each GCC release</link> + and |