[libbluray-devel] Compilation error on FreeBSD for libblueray-1.0.2

Frédéric Fauberteau triaxx at NetBSD.org
Fri Mar 2 13:10:43 CET 2018


Hi,

The compilation of libblueray-1.0.2 failed on FreeBSD 11.1 on file 
src/util/time.c:58.

The /usr/include/sys/time.h of FreeBSD contains:
#if __XSI_VISIBLE
int getitimer(int, struct itimerval *);
int gettimeofday(struct timeval *, struct timezone *);
#endif

The attached patch fix the problem (and implies to rerun autoconf).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-configure.ac
Type: text/x-diff
Size: 308 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/libbluray-devel/attachments/20180302/4882f517/attachment.diff>


More information about the libbluray-devel mailing list