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. Thank you for your patch! Best regards, -- rigo http://rigo.altervista.org
/* config.h. Generated from config.h.in by configure. */ /* config.h.in. Generated from configure.ac by autoheader. */ #include "xorg-server.h" /* Define to 1 if you have the declaration of `amd64', and to 0 if you don't. */ #define HAVE_DECL_AMD64 0 /* Define to 1 if you have the declaration of `_LP64', and to 0 if you don't. */ #define HAVE_DECL__LP64 0 /* Define to 1 if you have the declaration of `__amd64__', and to 0 if you don't. */ #define HAVE_DECL___AMD64__ 0 /* Define to 1 if you have the <dlfcn.h> header file. */ #define HAVE_DLFCN_H 1 /* Define to 1 if you have the <inttypes.h> header file. */ #define HAVE_INTTYPES_H 1 /* Define to 1 if you have the <memory.h> header file. */ #define HAVE_MEMORY_H 1 /* Define to 1 if you have the <stdint.h> header file. */ #define HAVE_STDINT_H 1 /* Define to 1 if you have the <stdlib.h> header file. */ #define HAVE_STDLIB_H 1 /* Define to 1 if you have the <strings.h> header file. */ #define HAVE_STRINGS_H 1 /* Define to 1 if you have the <string.h> header file. */ #define HAVE_STRING_H 1 /* Define to 1 if you have the <sys/stat.h> header file. */ #define HAVE_SYS_STAT_H 1 /* Define to 1 if you have the <sys/types.h> header file. */ #define HAVE_SYS_TYPES_H 1 /* Define to 1 if you have the <unistd.h> header file. */ #define HAVE_UNISTD_H 1 /* xextproto 7.1 available */ #define HAVE_XEXTPROTO_71 1 /* Define to the sub-directory in which libtool stores uninstalled libraries. */ #define LT_OBJDIR ".libs/" /* Name of package */ #define PACKAGE "xf86-video-geode" /* Define to the address where bug reports for this package should be sent. */ #define PACKAGE_BUGREPORT "https://bugs.freedesktop.org/enter_bug.cgi?product=xorg&component=Driver%2Fgeode" /* Define to the full name of this package. */ #define PACKAGE_NAME "xf86-video-geode" /* Define to the full name and version of this package. */ #define PACKAGE_STRING "xf86-video-geode 2.11.12" /* Define to the one symbol short name of this package. */ #define PACKAGE_TARNAME "xf86-video-geode" /* Define to the home page for this package. */ #define PACKAGE_URL "http://www.x.org/wiki/GeodeDriver" /* Define to the version of this package. */ #define PACKAGE_VERSION "2.11.12" /* Major version of this package */ #define PACKAGE_VERSION_MAJOR 2 /* Minor version of this package */ #define PACKAGE_VERSION_MINOR 11 /* Patch version of this package */ #define PACKAGE_VERSION_PATCHLEVEL 12 /* Define to 1 if you have the ANSI C header files. */ #define STDC_HEADERS 1 /* Version number of package */ #define VERSION "2.11.12" /* Number of bits in a file offset, on hosts where this is settable. */ /* #undef _FILE_OFFSET_BITS */ /* Define for large files, on AIX-style hosts. */ /* #undef _LARGE_FILES */
_______________________________________________ Xorg-driver-geode mailing list Xorg-driver-geode@lists.x.org http://lists.x.org/mailman/listinfo/xorg-driver-geode