diff --git a/media-libs/audiofile/files/audiofile-largefile.patch b/media-libs/audiofile/files/audiofile-largefile.patch new file mode 100644 --- /dev/null +++ b/media-libs/audiofile/files/audiofile-largefile.patch @@ -0,0 +1,21 @@ +--- libaudiofile/audiofile.h 2006/10/05 22:05:50 1.1 ++++ libaudiofile/audiofile.h 2006/10/05 22:06:00 +@@ -29,6 +29,7 @@ + + #include + #include ++#include + + #define LIBAUDIOFILE_MAJOR_VERSION 0 + #define LIBAUDIOFILE_MINOR_VERSION 2 +@@ -45,8 +45,8 @@ typedef struct _AFfilesetup *AFfilesetup + typedef struct _AFfilehandle *AFfilehandle; + typedef void (*AFerrfunc)(long, const char *); + +-typedef off_t AFframecount; +-typedef off_t AFfileoffset; ++typedef int64_t AFframecount; ++typedef int64_t AFfileoffset; + + #define AF_NULL_FILESETUP ((struct _AFfilesetup *) 0) + #define AF_NULL_FILEHANDLE ((struct _AFfilehandle *) 0)