[Dev-luatex] portability fixes for luatex

Vladimir Volovich vvv at vsu.ru
Sun Apr 27 14:18:45 CEST 2008


Hi!

while compiling texlive on AIX, i encountered problems with
luatex-related files. Most of them are about variable declarations in C
files which appear not at the beginning of the block.

i spent a few hours on cleaning this up, and attached a patch against
current texlive source tree, which changes these files:

libs/luafilesystem/src/lfs.c
libs/luafontforge/fontforge/Unicode/Makefile
libs/luafontforge/fontforge/fontforge/Makefile
libs/luafontforge/fontforge/fontforge/namelist.c
libs/luafontforge/fontforge/inc/basics.h
libs/luafontforge/Makefile
libs/lua51/liolib.c
libs/luazlib/lzlib.c
texk/web2c/luatexdir/image/writepng.c
texk/web2c/luatexdir/image/image.h
texk/web2c/luatexdir/image/writeimg.c
texk/web2c/luatexdir/lua/lcallbacklib.c
texk/web2c/luatexdir/lua/loslibext.c
texk/web2c/luatexdir/lua/limglib.c
texk/web2c/luatexdir/lua/luatoken.c
texk/web2c/luatexdir/lang/texlang.c
texk/web2c/luatexdir/lang/hyphen.c
texk/web2c/luatexdir/tex/postlinebreak.c
texk/web2c/luatexdir/tex/texnodes.c
texk/web2c/luatexdir/font/luafont.c

*please* fix these portability problems, otherwise it will be painful
and time consuming to do this again.

attached patch is only a suggested way to fix the problem; you may
choose to use slightly different approach in some case(s). please let me
know if the nature of the problem(s) is not clear from the patch.

Best,
v.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lua.diff
Type: text/x-diff
Size: 23825 bytes
Desc: not available
URL: <http://mailman.ntg.nl/pipermail/dev-luatex/attachments/20080427/a1449b75/attachment.diff>


More information about the dev-luatex mailing list