summaryrefslogtreecommitdiffstats
path: root/debian/patches/gm2-texinfo.diff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:22:56 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:22:56 +0000
commit3f472a4e5ca21e3ddb13737473e636b2b11a408a (patch)
tree7db1ab317884b9f6e04b6e13737c1679879cb97a /debian/patches/gm2-texinfo.diff
parentAdding upstream version 13.2.0. (diff)
downloadgcc-13-3f472a4e5ca21e3ddb13737473e636b2b11a408a.tar.xz
gcc-13-3f472a4e5ca21e3ddb13737473e636b2b11a408a.zip
Adding debian version 13.2.0-10.debian/13.2.0-10debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/gm2-texinfo.diff')
-rw-r--r--debian/patches/gm2-texinfo.diff30
1 files changed, 30 insertions, 0 deletions
diff --git a/debian/patches/gm2-texinfo.diff b/debian/patches/gm2-texinfo.diff
new file mode 100644
index 0000000..b7c1505
--- /dev/null
+++ b/debian/patches/gm2-texinfo.diff
@@ -0,0 +1,30 @@
+# DP: gm2.texi: Define our own gcctabopt macro, needed for dfsg builds.
+
+--- a/src/gcc/doc/gm2.texi
++++ b/src/gcc/doc/gm2.texi
+@@ -51,6 +51,25 @@ man page gfdl(7).
+ @versionsubtitle
+ @author Gaius Mulley
+
++@macro gcctabopt{body}
++@code{\body\}
++@end macro
++@macro gccoptlist{body}
++@smallexample
++\body\
++@end smallexample
++@end macro
++@c Makeinfo handles the above macro OK, TeX needs manual line breaks;
++@c they get lost at some point in handling the macro. But if @macro is
++@c used here rather than @alias, it produces double line breaks.
++@iftex
++@alias gol = *
++@end iftex
++@ifnottex
++@macro gol
++@end macro
++@end ifnottex
++
+ @page
+ @vskip 0pt plus 1filll
+ Published by the Free Software Foundation @*