[Xorg-driver-geode] FreeBSD patch for xf86-video-geode 2.11.12
Gaetan Nadon
memsize at videotron.ca
Tue Nov 15 07:34:21 PST 2011
On Tue, 2011-11-15 at 15:06 +0100, Arrigo Marchiori wrote:
> On Mon, Nov 14, 2011 at 03:07:33PM -0500, Gaetan Nadon wrote:
>
> > Could you compile the patch "Replace LFS transitional extension API
> > lseek64 and off64_t"
> > I just sent to the geode list. This is how things are done in X.Org
> > which I believe runs on FreeBSD.
>
> I downloaded the latest sources from Git and applied your patch. The
> compilation was successful, except for the z4l part.
>
> > Can you report on the value of _FILE_OFFSET_BITS in the generated
> > config.h?
>
> The macro _FILE_OFFSET_BITS is _not_ defined in the file config.h. I
> am attaching that file to this message. You can only find a
> commented-out #undef.
>
> > It's not clear (at least to me) if geode *needs* large file support on
> > 32 bit or if FreeBSD has decided not to provide such support on 32
> > bit.
>
> In FreeBSD, the header <sys/types.h> includes <sys/_types.h> that
> defines:
>
> > typedef __int64_t __off_t; /* file offset */
>
> I suppose that FreeBSD only supports 64-bit file offsets, under both
> 32-bit and 64-bit architectures.
Which confirms my reading that FreeBSD had chosen not to implement the
"transitional extension".
>
> Thank you for your patch!
Thanks for testing it!
>
> Best regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-driver-geode/attachments/20111115/e4b44a4b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg-driver-geode/attachments/20111115/e4b44a4b/attachment.pgp>
More information about the Xorg-driver-geode
mailing list