Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Dec 2004 09:44:06 +0100 (CET)
From:      Petr Holub <hopet@ics.muni.cz>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/75566: [PATCH] xmlada patch to compile docs
Message-ID:  <200412280844.iBS8i62b026049@kloboucek.ics.muni.cz>
Resent-Message-ID: <200412280850.iBS8oN9M020269@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         75566
>Category:       ports
>Synopsis:       [PATCH] xmlada patch to compile docs
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 28 08:50:23 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Petr Holub
>Release:        FreeBSD 5.3-RELEASE-p2 i386
>Organization:
Masaryk University
>Environment:
System: FreeBSD kloboucek.ics.muni.cz 5.3-RELEASE-p2 FreeBSD 5.3-RELEASE-p2 #11: Thu Dec 2 12:21:39 CET 2004 toor@kloboucek.ics.muni.cz:/usr/src/sys/i386/compile/KLOBOUCEK i386


>Description:
	
	This is a patch to avoid the following problem with compiling xmlada docs:

	gmake[1]: Entering directory `/usr/ports/textproc/xmlada.bak/work/xmlada-0.7.1/docs'
	echo x | tex xml.texi
	This is TeX, Version 3.14159 (Web2C 7.4.5)
	(./xml.texi (./texiplus.tex (/usr/local/share/texmf/tex/texinfo/texinfo.tex
	Loading texinfo [version 2003-02-03.16]: Basics, pdf, fonts, page headings,
	tables, conditionals, indexing, sectioning, toc, environments, defuns, macros,
	cross references, (/usr/local/share/texmf/tex/generic/misc/epsf.tex)
	localization, and turning on texinfo input format.)
	Loading Cygnus texinfo revisions [2003-02-03.16\ (Cygnus)]:) [1] [2] Chapter 1
	Chapter 2 [1] [2] [3] [4] [5] [6]
	! Undefined control sequence.
	l.417 @smallexample
					
	? Output written on xml.dvi (8 pages, 17656 bytes).
	Transcript written on xml.log.
	gmake[1]: *** [xml.dvi] Error 1
	rm xml.dvi
	gmake[1]: Leaving directory `/usr/ports/textproc/xmlada.bak/work/xmlada-0.7.1/docs'
	gmake: *** [docs] Error 2
	*** Error code 2

	The patch removes problematic smallexample redefinition in texiplus.tex.
	
>How-To-Repeat:
	
	Type make in xmlada.

>Fix:

--- xmlada.patch begins here ---
diff -ruN xmlada.bak/Makefile xmlada/Makefile
--- xmlada.bak/Makefile	Wed Dec  8 11:56:51 2004
+++ xmlada/Makefile	Tue Dec 28 09:32:39 2004
@@ -7,7 +7,7 @@
 
 PORTNAME=	xmlada
 PORTVERSION=	0.7.1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	textproc
 MASTER_SITES=	http://libre.act-europe.fr/xmlada/
 DISTNAME=	XmlAda-${PORTVERSION}
diff -ruN xmlada.bak/files/patch-ab xmlada/files/patch-ab
--- xmlada.bak/files/patch-ab	Thu Jan  1 01:00:00 1970
+++ xmlada/files/patch-ab	Tue Dec 28 09:30:33 2004
@@ -0,0 +1,11 @@
+--- docs/texiplus.tex.orig	Tue Dec 28 09:29:03 2004
++++ docs/texiplus.tex	Tue Dec 28 09:29:33 2004
+@@ -240,8 +240,6 @@
+ \global\pageheight=\vsize
+ 
+ \global\let\smalllisp=\smalllispx
+-\global\let\smallexample=\smalllispx
+-\global\def\Esmallexample{\Esmalllisp}
+ }\textfonts
+ 
+ \globaldefs=0 % this is NOT redundant; the \endgroup done by@end tex
--- xmlada.patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200412280844.iBS8i62b026049>