[tlbuild] 2014 builds for FreeBSD
Peter Breitenlohner
peb at mppmu.mpg.de
Wed Mar 19 14:08:46 CET 2014
On Wed, 19 Mar 2014, Nikola Lecic wrote:
The current sources build fine on FreeBSD i386/amd64, with this small
patch applied:
> Index: Build/source/libs/lua52/lua-5.2.3/src/liolib.c
> ===================================================================
> --- Build/source/libs/lua52/lua-5.2.3/src/liolib.c (revision 33227)
> +++ Build/source/libs/lua52/lua-5.2.3/src/liolib.c (working copy)
> @@ -19,6 +19,7 @@
> #include <stdio.h>
> #include <stdlib.h>
> #include <string.h>
> +#include <unistd.h>
>
> #define liolib_c
> #define LUA_LIB
Hi Nikola,
that seems to be a problem with the FreeBSD headers. The Linux and Posix manpage(s) for
fseeko()/ftello() only specify
#include <stdio.h>
Can you live with a local patch?
Regards
Peter
More information about the tlbuild
mailing list