tetex: fixed the build with gcc 4.4.1.
This commit is contained in:
parent
2d4019b2ed
commit
170b868bef
@ -6,7 +6,7 @@
|
||||
|
||||
name=tetex
|
||||
version=3.0
|
||||
release=3
|
||||
release=4
|
||||
source=(ftp://dante.ctan.org/pub/tex/systems/unix/teTeX/current/distrib/$name-src-$version.tar.gz \
|
||||
ftp://dante.ctan.org/pub/tex/systems/unix/teTeX/current/distrib/$name-texmf-$version.tar.gz \
|
||||
ftp://dante.ctan.org/pub/tex/systems/unix/teTeX/current/distrib/$name-texmfsrc-$version.tar.gz \
|
||||
@ -31,6 +31,21 @@ build() {
|
||||
--with-system-ncurses \
|
||||
--with-system-t1lib \
|
||||
--with-system-gd
|
||||
|
||||
# Files generated during make, use conflicing getline function.
|
||||
# Build these manually first.
|
||||
cd texk/web2c
|
||||
for i in tangleboot tangle mft otangle weave
|
||||
do
|
||||
make ${i}.c
|
||||
sed 's|getline|&_|' -i ${i}.[ch]
|
||||
done
|
||||
cd ../../
|
||||
|
||||
# Fix some more getline conflicts
|
||||
sed 's|getline|&_|' -i texk/web2c/mpware/mpto.c
|
||||
sed 's|getline|&_|' -i texk/dvipsk/afm2tfm.c
|
||||
|
||||
make
|
||||
|
||||
# temp fix, this tools tries to write in real root
|
||||
|
Loading…
x
Reference in New Issue
Block a user