ports/183342: lang/gcc : fix build witch current texinfo

Christoph Moench-Tegeder cmt at burggraben.net
Sat Oct 26 18:30:01 UTC 2013


>Number:         183342
>Category:       ports
>Synopsis:       lang/gcc : fix build witch current texinfo
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 26 18:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Christoph Moench-Tegeder
>Release:        FreeBSD 9.2-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD elch.exwg.net 9.2-RELEASE FreeBSD 9.2-RELEASE #11 r255911: Fri Sep 27 17:09:40 CEST 2013 cmt at elch.exwg.net:/usr/obj/usr/src/sys/ELCH amd64


	lang/gcc gcc-4.6.3_1
	print/texinfo texinfo-5.2.20130926_1
>Description:
	the build of lang/gcc fails on building the documentation if
	print(texinfo is installed (the usual "@itemx must follow @item"
	error messages are seen).

>How-To-Repeat:
	type make
>Fix:
	This problem was fixed in gcc-4.6.4. Short of updating lang/gcc,
	I extracted the neccessary changes from the gcc-4.6.4 source.
	The following patch should be dropped into lang/gcc/files (with
	or without processing by splitpatch.pl).

	NOTE this is an additional patch for lang/gcc/files/, not a patch
	agains the ports tree

--- gcc/doc/cppopts.texi	2010-12-20 08:26:12.000000000 +0100
+++ gcc/doc/cppopts.texi	2013-03-20 12:08:52.000000000 +0100
@@ -769,7 +769,7 @@
 Enable special code to work around file systems which only permit very
 short file names, such as MS-DOS at .
 
- at itemx --help
+ at item --help
 @itemx --target-help
 @opindex help
 @opindex target-help
--- gcc/doc/invoke.texi	2012-01-03 17:43:38.000000000 +0100
+++ gcc/doc/invoke.texi	2013-03-20 12:08:52.000000000 +0100
@@ -165,7 +165,7 @@
 -pipe  -pass-exit-codes  @gol
 -x @var{language}  -v  -###  --help at r{[}=@var{class}@r{[}, at dots{}@r{]]}  --target-help  @gol
 --version -wrapper @@@var{file} -fplugin=@var{file} -fplugin-arg- at var{name}=@var{arg}  @gol
--fdump-ada-spec at r{[}-slim at r{]}} -fdump-go-spec=@var{file}
+-fdump-ada-spec at r{[}-slim at r{]} -fdump-go-spec=@var{file}}
 
 @item C Language Options
 @xref{C Dialect Options,,Options Controlling C Dialect}.
@@ -5085,11 +5086,11 @@
 @option{-fdump-rtl-ce3} enable dumping after the three
 if conversion passes.
 
- at itemx -fdump-rtl-cprop_hardreg
+ at item -fdump-rtl-cprop_hardreg
 @opindex fdump-rtl-cprop_hardreg
 Dump after hard register copy propagation.
 
- at itemx -fdump-rtl-csa
+ at item -fdump-rtl-csa
 @opindex fdump-rtl-csa
 Dump after combining stack adjustments.
 
@@ -5100,11 +5101,11 @@
 @option{-fdump-rtl-cse1} and @option{-fdump-rtl-cse2} enable dumping after
 the two common sub-expression elimination passes.
 
- at itemx -fdump-rtl-dce
+ at item -fdump-rtl-dce
 @opindex fdump-rtl-dce
 Dump after the standalone dead code elimination passes.
 
- at itemx -fdump-rtl-dbr
+ at item -fdump-rtl-dbr
 @opindex fdump-rtl-dbr
 Dump after delayed branch scheduling.
 
@@ -5149,7 +5150,7 @@
 @opindex fdump-rtl-initvals
 Dump after the computation of the initial value sets.
 
- at itemx -fdump-rtl-into_cfglayout
+ at item -fdump-rtl-into_cfglayout
 @opindex fdump-rtl-into_cfglayout
 Dump after converting to cfglayout mode.
 
@@ -5179,7 +5180,7 @@
 @opindex fdump-rtl-rnreg
 Dump after register renumbering.
 
- at itemx -fdump-rtl-outof_cfglayout
+ at item -fdump-rtl-outof_cfglayout
 @opindex fdump-rtl-outof_cfglayout
 Dump after converting from cfglayout mode.
 
@@ -5191,7 +5192,7 @@
 @opindex fdump-rtl-postreload
 Dump after post-reload optimizations.
 
- at itemx -fdump-rtl-pro_and_epilogue
+ at item -fdump-rtl-pro_and_epilogue
 @opindex fdump-rtl-pro_and_epilogue
 Dump after generating the function pro and epilogues.

--- gcc/doc/generic.texi	2011-01-02 02:30:55.000000000 +0100
+++ gcc/doc/generic.texi	2013-03-20 12:08:52.000000000 +0100
@@ -1415,13 +1415,13 @@
 not matter.  The type of the operands and that of the result are
 always of @code{BOOLEAN_TYPE} or @code{INTEGER_TYPE}.
 
- at itemx POINTER_PLUS_EXPR
+ at 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.
 
- at itemx PLUS_EXPR
+ at item PLUS_EXPR
 @itemx MINUS_EXPR
 @itemx MULT_EXPR
 These nodes represent various binary arithmetic operations.


Regards,
Christoph
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list