diff -ur /Gentoo/var/db/patchmaker/net-fs/curlftpfs/0.9.2/work/curlftpfs-0.9.2/configure.ac /Gentoo/var/tmp/portage/net-fs/curlftpfs-0.9.2/work/curlftpfs-0.9.2/configure.ac --- /Gentoo/var/db/patchmaker/net-fs/curlftpfs/0.9.2/work/curlftpfs-0.9.2/configure.ac 2008-04-23 15:37:42 +0400 +++ /Gentoo/var/tmp/portage/net-fs/curlftpfs-0.9.2/work/curlftpfs-0.9.2/configure.ac 2009-06-02 09:46:05 +0400 @@ -18,6 +18,11 @@ AC_MSG_ERROR(["We need libcurl with support for FTP protocol."]) fi +case $host_os in + darwin*) + CFLAGS="$CFLAGS -D__off_t=off_t" + ;; +esac CFLAGS="$CFLAGS -Wall -W -Wno-sign-compare -D_REENTRANT $GLIB_CFLAGS $FUSE_CFLAGS $LIBCURL_CPPFLAGS" LIBS="$GLIB_LIBS $FUSE_LIBS $LIBCURL"