Skip to content

Instantly share code, notes, and snippets.

@ItachiSan
Created May 2, 2013 10:17
Show Gist options
  • Save ItachiSan/5501343 to your computer and use it in GitHub Desktop.
Save ItachiSan/5501343 to your computer and use it in GitHub Desktop.
patch for texinfo build problems for gcc44-multilib (Archlinux AUR) https://aur.archlinux.org/packages/gcc44-multilib/
# Patch created by Giovanni Santini aka ItachiSan @ AUR.archlinux.org
# ---
# References
# http://gcc.gnu.org/ml/gcc-patches/2012-10/msg02505.html
# https://bugs.archlinux.org/task/34000
# ---
#
# ---
# Change some @itemx to @item
# Did this as texinfo 5 breaks build if not patched texi files.
# ---
diff -urN a/gcc/doc/c-tree.texi b/gcc/doc/c-tree.texi
--- a/gcc/doc/c-tree.texi 2009-02-20 16:20:38.000000000 +0100
+++ b/gcc/doc/c-tree.texi 2013-05-02 00:13:03.425907530 +0200
@@ -2338,13 +2338,13 @@
not matter. The type of the operands and that of the result are
always of @code{BOOLEAN_TYPE} or @code{INTEGER_TYPE}.
-@itemx POINTER_PLUS_EXPR
+@item POINTER_PLUS_EXPR
This node represents pointer arithmetic. The first operand is always
a pointer/reference type. The second operand is always an unsigned
integer type compatible with sizetype. This is the only binary
arithmetic operand that can operate on pointer types.
-@itemx PLUS_EXPR
+@item PLUS_EXPR
@itemx MINUS_EXPR
@itemx MULT_EXPR
These nodes represent various binary arithmetic operations.
diff -urN a/gcc/doc/cppopts.texi b/gcc/doc/cppopts.texi
--- a/gcc/doc/cppopts.texi 2008-06-15 11:42:13.000000000 +0200
+++ b/gcc/doc/cppopts.texi 2013-05-01 23:10:26.103692954 +0200
@@ -758,7 +758,7 @@
Enable special code to work around file systems which only permit very
short file names, such as MS-DOS@.
-@itemx --help
+@item --help
@itemx --target-help
@opindex help
@opindex target-help
diff -urN a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
--- a/gcc/doc/invoke.texi 2011-03-23 23:02:12.000000000 +0100
+++ b/gcc/doc/invoke.texi 2013-05-01 23:52:21.647407304 +0200
@@ -4645,11 +4645,11 @@
@option{-fdump-rtl-ce3} enable dumping after the three
if conversion passes.
-@itemx -fdump-rtl-cprop_hardreg
+@item -fdump-rtl-cprop_hardreg
@opindex fdump-rtl-cprop_hardreg
Dump after hard register copy propagation.
-@itemx -fdump-rtl-csa
+@item -fdump-rtl-csa
@opindex fdump-rtl-csa
Dump after combining stack adjustments.
@@ -4660,11 +4660,11 @@
@option{-fdump-rtl-cse1} and @option{-fdump-rtl-cse2} enable dumping after
the two common sub-expression elimination passes.
-@itemx -fdump-rtl-dce
+@item -fdump-rtl-dce
@opindex fdump-rtl-dce
Dump after the standalone dead code elimination passes.
-@itemx -fdump-rtl-dbr
+@item -fdump-rtl-dbr
@opindex fdump-rtl-dbr
Dump after delayed branch scheduling.
@@ -4709,7 +4709,7 @@
@opindex fdump-rtl-initvals
Dump after the computation of the initial value sets.
-@itemx -fdump-rtl-into_cfglayout
+@item -fdump-rtl-into_cfglayout
@opindex fdump-rtl-into_cfglayout
Dump after converting to cfglayout mode.
@@ -4739,7 +4739,7 @@
@opindex fdump-rtl-rnreg
Dump after register renumbering.
-@itemx -fdump-rtl-outof_cfglayout
+@item -fdump-rtl-outof_cfglayout
@opindex fdump-rtl-outof_cfglayout
Dump after converting from cfglayout mode.
@@ -4751,7 +4751,7 @@
@opindex fdump-rtl-postreload
Dump after post-reload optimizations.
-@itemx -fdump-rtl-pro_and_epilogue
+@item -fdump-rtl-pro_and_epilogue
@opindex fdump-rtl-pro_and_epilogue
Dump after generating the function pro and epilogues.
diff -urN a/gcc/doc/md.texi b/gcc/doc/md.texi
--- a/gcc/doc/md.texi 2009-05-07 10:14:55.000000000 +0200
+++ b/gcc/doc/md.texi 2013-05-01 23:23:06.301482098 +0200
@@ -3713,8 +3713,8 @@
@cindex @code{ior@var{m}3} instruction pattern
@cindex @code{xor@var{m}3} instruction pattern
@item @samp{ssadd@var{m}3}, @samp{usadd@var{m}3}
-@item @samp{sub@var{m}3}, @samp{sssub@var{m}3}, @samp{ussub@var{m}3}
-@item @samp{mul@var{m}3}, @samp{ssmul@var{m}3}, @samp{usmul@var{m}3}
+@itemx @samp{sub@var{m}3}, @samp{sssub@var{m}3}, @samp{ussub@var{m}3}
+@itemx @samp{mul@var{m}3}, @samp{ssmul@var{m}3}, @samp{usmul@var{m}3}
@itemx @samp{div@var{m}3}, @samp{ssdiv@var{m}3}
@itemx @samp{udiv@var{m}3}, @samp{usdiv@var{m}3}
@itemx @samp{mod@var{m}3}, @samp{umod@var{m}3}
diff -urN a/gcc/doc/sourcebuild.texi b/gcc/doc/sourcebuild.texi
--- a/gcc/doc/sourcebuild.texi 2010-05-19 19:21:58.000000000 +0200
+++ b/gcc/doc/sourcebuild.texi 2013-05-01 23:23:48.194877290 +0200
@@ -573,7 +573,7 @@
@code{lang_checks}.
@table @code
-@itemx all.cross
+@item all.cross
@itemx start.encap
@itemx rest.encap
FIXME: exactly what goes in each of these targets?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment