From: | "Christian Faulhammer (fauli)" <fauli@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-fs/curlftpfs/files: curlftpfs-0.9.2-darwin.patch |
Date: | Fri, 01 Jan 2010 21:17:56 |
Message-Id: | E1NQosc-00050q-RP@stork.gentoo.org |
1 | fauli 10/01/01 21:17:54 |
2 | |
3 | Added: curlftpfs-0.9.2-darwin.patch |
4 | Log: |
5 | Port Prefix patch and keywords over |
6 | (Portage version: 2.1.6.13/cvs/Linux i686) |
7 | |
8 | Revision Changes Path |
9 | 1.1 net-fs/curlftpfs/files/curlftpfs-0.9.2-darwin.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/curlftpfs/files/curlftpfs-0.9.2-darwin.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/curlftpfs/files/curlftpfs-0.9.2-darwin.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: curlftpfs-0.9.2-darwin.patch |
15 | =================================================================== |
16 | http://sourceforge.net/tracker/?func=detail&atid=816359&aid=2799820&group_id=160565 |
17 | |
18 | diff -ur configure.ac configure.ac |
19 | --- configure.ac 2008-04-23 15:37:42 +0400 |
20 | +++ configure.ac 2009-06-02 09:46:05 +0400 |
21 | @@ -18,6 +18,11 @@ |
22 | AC_MSG_ERROR(["We need libcurl with support for FTP protocol."]) |
23 | fi |
24 | |
25 | +case $host_os in |
26 | + darwin*) |
27 | + CFLAGS="$CFLAGS -D__off_t=off_t" |
28 | + ;; |
29 | +esac |
30 | CFLAGS="$CFLAGS -Wall -W -Wno-sign-compare -D_REENTRANT $GLIB_CFLAGS $FUSE_CFLAGS $LIBCURL_CPPFLAGS" |
31 | LIBS="$GLIB_LIBS $FUSE_LIBS $LIBCURL" |