[Lunar-commits] teTeX: add patch to fix this build failure that starts with,

Dennis Veatch dennisveatch at bellsouth.net
Thu Dec 27 03:21:40 CET 2007


commit 6b90eb65319622c42633d582592e0646b984544c
Author: Dennis Veatch <dennisveatch at bellsouth.net>
Date:   Wed Dec 26 21:21:40 2007 -0500

    teTeX: add patch to fix this build failure that starts with,
    
    gcc -DHAVE_CONFIG_H  -I. -I. -I../.. -I../.. -I.. -I./..  -O2 -march=athlon64 -pipe  -c y_tab.c -o y_tab.o
    flex -l ./pl.l
    ./pl.l:68: bad character: %
    ./pl.l:68: unknown error processing section 1
    ./pl.l:68: unknown error processing section 1
    ./pl.l:68: bad character: 4
    ./pl.l:68: bad character: 0
    
    and ends with
    
    ./pl.l:70: bad character: 0
    make[3]: *** [lex.yy.c] Error 1
    make[3]: Leaving directory `/usr/src/tetex-src-3.0/texk/web2c/omegafonts'
    make[2]: *** [omegafonts/omfonts] Error 2
    make[2]: Leaving directory `/usr/src/tetex-src-3.0/texk/web2c'
    make[1]: *** [all] Error 1
    make[1]: Leaving directory `/usr/src/tetex-src-3.0/texk'
    make: *** [all] Error 1
---
 doc-tools/teTeX/BUILD   |    2 ++
 doc-tools/teTeX/DETAILS |    9 ++++++---
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/doc-tools/teTeX/BUILD b/doc-tools/teTeX/BUILD
index 5d2781b..100e03b 100644
--- a/doc-tools/teTeX/BUILD
+++ b/doc-tools/teTeX/BUILD
@@ -1,5 +1,7 @@
 (
 
+  patch_it $SOURCE_CACHE/$SOURCE1 0      &&
+
   ./configure  --prefix=/usr             \
                --infodir=/usr/share/info \
                --mandir=/usr/share/man   \
diff --git a/doc-tools/teTeX/DETAILS b/doc-tools/teTeX/DETAILS
index 8624ff4..894e9e8 100644
--- a/doc-tools/teTeX/DETAILS
+++ b/doc-tools/teTeX/DETAILS
@@ -1,11 +1,14 @@
           MODULE=teTeX
          VERSION=3.0
           SOURCE=tetex-src-$VERSION.tar.gz
+         SOURCE1=tetex-2.0.2-flex-unput.patch
 SOURCE_DIRECTORY=$BUILD_DIRECTORY/tetex-src-$VERSION
    SOURCE_URL[0]=ftp://dante.ctan.org/tex-archive/systems/unix/teTeX/current/distrib/
    SOURCE_URL[1]=ftp://cam.ctan.org/tex-archive/systems/unix/teTeX/current/distrib/
    SOURCE_URL[2]=ftp://tug.ctan.org/tex-archive/systems/unix/teTeX/current/distrib/
+     SOURCE1_URL=$PATCH_URL
       SOURCE_VFY=sha1:7637789f7f4929694aed1b89820f5bad4753e8fc
+     SOURCE1_VFY=sha1:d58a4cc7bcc26e442b75cf92fd83f90a30b095f7
         WEB_SITE=http://tug.org/teTeX
          ENTERED=20010922
          UPDATED=20050209
@@ -13,8 +16,8 @@ SOURCE_DIRECTORY=$BUILD_DIRECTORY/tetex-src-$VERSION
            SHORT="TeX distribution that includes web2c, pdfTeX, e-Tex and more..."
 
 cat << EOF
-TeTex is by far, the best TeX distribution available for Linux, includes 
-latest versions of web2c, pdfTeX, e-TeX, Omega, xdvi, ps2pk, makeinfo, 
-texinfo, texconfig and lots of fonts and macros. It's easy to install and 
+TeTex is by far, the best TeX distribution available for Linux, includes
+latest versions of web2c, pdfTeX, e-TeX, Omega, xdvi, ps2pk, makeinfo,
+texinfo, texconfig and lots of fonts and macros. It's easy to install and
 easy to customize.
 EOF


More information about the Lunar-commits mailing list