On Tue, May 12, 2026 at 3:09 PM Léo Hardt <[email protected]> wrote: > > Hi! This is my first patch. > > The @gol texinfo macro appears to have been used as a workaround for > achieving line breaks in gccoptlists, and has been removed on commit > 43b72ed. The texi2pod rule to ignore it was not cleaned up at the time. > > I did not find any references to @gol in the documentation, and building > man pages with and without the deleted rule produced identical files. > > V2's change is to add the sign-off line, as pointed out by > [email protected]. Thanks for the fast reply! My understanding > is that adding the sign-off line to the e-mail is enough to satisfy legal > concerns? And yes, I would be interested in continuing to contribute, thanks!
Thanks, I have now pushed your patch (with a few things removed from the commit message). And fixed up the changelog to use a tab rather than spaces. https://gcc.gnu.org/pipermail/gcc-cvs/2026-May/453781.html Hope to see more patches from you. Thanks, Drea > > Best regards, > Leo. > > contrib/ChangeLog: > > * texi2pod.pl: Remove rule to parse the defunct @gol macro. > > Signed-off-by: Léo Hardt <[email protected]> > --- > contrib/texi2pod.pl | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/contrib/texi2pod.pl b/contrib/texi2pod.pl > index 26f19acff..08681fd52 100755 > --- a/contrib/texi2pod.pl > +++ b/contrib/texi2pod.pl > @@ -416,14 +416,13 @@ sub postprocess > # Cross references are thrown away, as are @noindent and @refill. > # (@noindent is impossible in .pod, and @refill is unnecessary.) > # @* is also impossible in .pod; we discard it and any newline that > - # follows it. Similarly, our macro @gol must be discarded. > + # follows it. > > s/\(?\@xref\{(?:[^\}]*)\}(?:[^.<]|(?:<[^<>]*>))*\.\)?//g; > s/\s+\(\@pxref\{(?:[^\}]*)\}\)//g; > s/;\s+\@pxref\{(?:[^\}]*)\}//g; > s/\@noindent\s*//g; > s/\@refill//g; > - s/\@gol//g; > s/\@\*\s*\n?//g; > > # Anchors are thrown away > -- > 2.39.5
