Checked out revision 288.
This does not compile right away, the Makefile stops here: gcc -DHAVE_CONFIG_H -I. -I../../../../src/texk/web2c/luatexdir -I.. -I../../../../src/texk/web2c/luatexdir/../.. -I.. -I../../../../src/texk/web2c/luatexdir/.. -I../.. -I../../../../src/texk/web2c/luatexdir/../.. -I../../../libs/md5 -I../../../../src/texk/web2c/luatexdir/../../../libs/md5 -I../../../libs/libpng -I../../../../src/texk/web2c/luatexdir/../../../libs/libpng -I../../../libs/zlib -I../../../../src/texk/web2c/luatexdir/../../../libs/zlib -I../../../libs/xpdf -I../../../libs/xpdf/.. -I../../../../src/texk/web2c/luatexdir/../../../libs/xpdf -I../../../../src/texk/web2c/luatexdir/../../../libs/xpdf/.. -I../../../libs/obsdcompat -I../../../libs/obsdcompat/.. -I../../../../src/texk/web2c/luatexdir/../../../libs/obsdcompat -I../../../../src/texk/web2c/luatexdir/../../../libs/obsdcompat/.. -DpdfTeX -g -O2 -c ../../../../src/texk/web2c/luatexdir/font/ttfotf.c -o font/ttfotf.o ../../../../src/texk/web2c/luatexdir/font/ttfotf.c:3141: error: conflicting types for “getsid” /usr/include/unistd.h:510: error: previous declaration of “getsid” was here ../../../../src/texk/web2c/luatexdir/font/ttfotf.c: In function “MMFillFromVAR”: ../../../../src/texk/web2c/luatexdir/font/ttfotf.c:5272: warning: passing argument 1 of “copy” from incompatible pointer type ../../../../src/texk/web2c/luatexdir/font/ttfotf.c:5272: warning: assignment from incompatible pointer type ../../../../src/texk/web2c/luatexdir/font/ttfotf.c:5279: warning: passing argument 1 of “copy” from incompatible pointer type ../../../../src/texk/web2c/luatexdir/font/ttfotf.c:5279: warning: assignment from incompatible pointer type make[1]: *** [font/ttfotf.o] Error 1 make: *** [luatexdir/libpdf.a] Error 2