Hi! On Fri, 2012-11-30 at 03:26:49 +0000, Steven Chamberlain wrote: > Control: found -1 1.2.5.dfsg.1-4.1 > Control: tags -1 + patch
> The problem is a '#define off_t long', which causes a problem later when > GNU/kFreeBSD headers include <sys/types.h> (again), and try to redefine > off_t for some reason. > > That only happens because HAVE_OFF_T isn't being set in config.h. In > fact it is hard-coded to 0 by default and set to 1 on certain supported > platforms such as Mac OS X (in rubyconfigure.h). > With the patch below, then running: > > $ aclocal-1.10 && autoheader && autoconf > > implements a proper detection for off_t and it builds now on > kfreebsd-amd64. Also it still builds okay and runs on GNU/Linux amd64. > > --- a/configure.in 2007-10-25 21:38:55.000000000 +0100 > +++ b/configure.in 2012-11-30 02:01:34.039114307 +0000 > @@ -288,6 +288,8 @@ > ]) > ]) > > +AC_CHECK_TYPES([off_t], [], [], [[#include <sys/types.h>]]) > + I guess ideally the code would be using AC_TYPE_OFF_T, but as you mention that the code depends on HAVE_OFF_T, then this might be the smallest change to accomplish the same thing. Thanks, Guillem -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org