From: | "Jeroen Roovers (jer)" <jer@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-ftp/ncftp/files: ncftp-3.2.2-no_lfs64_source.patch |
Date: | Mon, 25 Aug 2008 17:44:04 |
Message-Id: | E1KXg6j-0001Ri-HJ@stork.gentoo.org |
1 | jer 08/08/25 17:44:01 |
2 | |
3 | Added: ncftp-3.2.2-no_lfs64_source.patch |
4 | Log: |
5 | Possibly fix bug #235632. Bump to get the older build fixes in for everyone. |
6 | (Portage version: 2.2_rc8/cvs/Linux 2.6.25-gentoo-r7-JeR i686) |
7 | |
8 | Revision Changes Path |
9 | 1.1 net-ftp/ncftp/files/ncftp-3.2.2-no_lfs64_source.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-ftp/ncftp/files/ncftp-3.2.2-no_lfs64_source.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-ftp/ncftp/files/ncftp-3.2.2-no_lfs64_source.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: ncftp-3.2.2-no_lfs64_source.patch |
15 | =================================================================== |
16 | --- libncftp/ncftp.h.orig 2008-08-25 18:55:38.000000000 +0200 |
17 | +++ libncftp/ncftp.h 2008-08-25 19:09:02.000000000 +0200 |
18 | @@ -165,17 +165,6 @@ |
19 | # endif |
20 | #else |
21 | /* Includes for UNIX */ |
22 | -# if ((defined(__linux__)) && (! defined(_LARGEFILE64_SOURCE)) && (! defined(NO_LARGEFILE64_SOURCE)) && (! defined(_LARGEFILE_SOURCE)) && (! defined(_FILE_OFFSET_BITS))) |
23 | - /* Define _LARGEFILE64_SOURCE or NO_LARGEFILE64_SOURCE to |
24 | - * quiet this warning. Be sure to define this for ALL |
25 | - * code that uses LibNcFTP. |
26 | - */ |
27 | -# warning "<ncftp.h> is #defining _LARGEFILE64_SOURCE for you" |
28 | -# define _LARGEFILE64_SOURCE 1 |
29 | -# define Stat stat64 |
30 | -# define Lstat lstat64 |
31 | -# define Fstat fstat64 |
32 | -# endif |
33 | # include <unistd.h> |
34 | # include <sys/types.h> |
35 | # include <sys/stat.h> |