]> rtime.felk.cvut.cz Git - coffee/buildroot.git/blob - package/mdadm/mdadm-030-uclibc-redefine-off64_t-as-off_t-if-no-largefile.patch
packages: remove uninstall commands
[coffee/buildroot.git] / package / mdadm / mdadm-030-uclibc-redefine-off64_t-as-off_t-if-no-largefile.patch
1 From 9c63360a2db71882cc548305774ce87af5f52b6e Mon Sep 17 00:00:00 2001
2 From: Christophe Vu-Brugier <cvubrugier@lacie.com>
3 Date: Thu, 7 Mar 2013 10:37:09 +0100
4 Subject: [PATCH] uClibc: redefine off64_t as off_t if largefile support is
5  disabled
6
7
8 Signed-off-by: Christophe Vu-Brugier <cvubrugier@lacie.com>
9 ---
10  mdadm.h |    1 +
11  1 file changed, 1 insertion(+)
12
13 diff --git a/mdadm.h b/mdadm.h
14 index 216c31d..1c72cc4 100644
15 --- a/mdadm.h
16 +++ b/mdadm.h
17 @@ -1008,6 +1008,7 @@ struct stat64;
18  # include <features.h>
19  # ifndef __UCLIBC_HAS_LFS__
20  #  define lseek64 lseek
21 +#  define off64_t off_t
22  # endif
23  # ifndef  __UCLIBC_HAS_FTW__
24  #  undef HAVE_FTW
25 -- 
26 1.7.10.4
27