You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-fs/curlftpfs/files/curlftpfs-0.9.2-darwin.patch

17 lines
486 B

https://sourceforge.net/tracker/?func=detail&atid=816359&aid=2799820&group_id=160565
--- a/configure.ac 2008-04-23 15:37:42 +0400
+++ b/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"