Fix broken LaTeX code generated by doxygen. Changing package

fancyhdr's \footrulewidth has always been documented using
\renewcommand (as opposed to \setlength), and the LaTeX from teTeX 2.x
barfs about it otherwise.

This is merely a stop-gap measure until the maintainer finds the time
to upgrade the doxygen port to a current version.
This commit is contained in:
Joerg Wunsch 2003-05-11 14:11:57 +00:00
parent d17ef48497
commit f503890a8c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=80669
2 changed files with 12 additions and 1 deletions

View file

@ -7,7 +7,7 @@
PORTNAME= doxygen
PORTVERSION= 1.2.18
PORTREVISION= 0
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ftp://ftp.stack.nl/pub/users/dimitri/
EXTRACT_SUFX= .src.tar.gz

View file

@ -0,0 +1,11 @@
--- src/latexgen.cpp.orig Mon Sep 2 22:01:34 2002
+++ src/latexgen.cpp Sun May 11 15:04:45 2003
@@ -286,7 +286,7 @@
}
t << "\\makeindex\n"
"\\setcounter{tocdepth}{1}\n"
- "\\setlength{\\footrulewidth}{0.4pt}\n"
+ "\\renewcommand{\\footrulewidth}{0.4pt}\n"
"\\begin{document}\n";
if (theTranslator->idLanguage()=="greek") t << "\\selectlanguage{greek}\n";
t << "\\begin{titlepage}\n"