diff options
author | Gustavo Zacarias <gustavo@zacarias.com.ar> | 2015-03-30 18:07:32 -0300 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-04-01 22:53:11 +0200 |
commit | 415765b5a8861f3b7e86e9786bf903a5a4d09e73 (patch) | |
tree | 71ca825afa12aa5ef70555199f73b9588697e068 /package/mdadm | |
parent | 9d188366ea5c13731425384b2beafef9c2e2f740 (diff) |
packages: remove non-lfs enabler patches
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/mdadm')
-rw-r--r-- | package/mdadm/0020-uclibc-dont-force-largefile.patch | 27 | ||||
-rw-r--r-- | package/mdadm/0030-uclibc-redefine-off64_t-as-off_t-if-no-largefile.patch | 27 |
2 files changed, 0 insertions, 54 deletions
diff --git a/package/mdadm/0020-uclibc-dont-force-largefile.patch b/package/mdadm/0020-uclibc-dont-force-largefile.patch deleted file mode 100644 index fe3ab47d3..000000000 --- a/package/mdadm/0020-uclibc-dont-force-largefile.patch +++ /dev/null @@ -1,27 +0,0 @@ -[PATCH] mdadm: don't enable largefile support unconditionally on uClibc - -uClibc can be compiled without largefile support (and errors out if -_FILE_OFFSET_BITS is set to 64), so don't define it if that combination -is detected. - -Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk> ---- - mdadm.h | 4 ++++ - 1 file changed, 4 insertions(+) - -Index: mdadm-3.2.6/mdadm.h -=================================================================== ---- mdadm-3.2.6.orig/mdadm.h -+++ mdadm-3.2.6/mdadm.h -@@ -23,7 +23,11 @@ - */ - - #define _GNU_SOURCE -+#include <features.h> -+/* uclibc without largefile support #errors on _FILE_OFFSET_BITS=64 */ -+#if !(defined(__UCLIBC__) && !defined(__UCLIBC_HAS_LFS__)) - #define _FILE_OFFSET_BITS 64 -+#endif - #include <unistd.h> - #if !defined(__dietlibc__) && !defined(__KLIBC__) - extern __off64_t lseek64 __P ((int __fd, __off64_t __offset, int __whence)); diff --git a/package/mdadm/0030-uclibc-redefine-off64_t-as-off_t-if-no-largefile.patch b/package/mdadm/0030-uclibc-redefine-off64_t-as-off_t-if-no-largefile.patch deleted file mode 100644 index d958ab800..000000000 --- a/package/mdadm/0030-uclibc-redefine-off64_t-as-off_t-if-no-largefile.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 9c63360a2db71882cc548305774ce87af5f52b6e Mon Sep 17 00:00:00 2001 -From: Christophe Vu-Brugier <cvubrugier@lacie.com> -Date: Thu, 7 Mar 2013 10:37:09 +0100 -Subject: [PATCH] uClibc: redefine off64_t as off_t if largefile support is - disabled - - -Signed-off-by: Christophe Vu-Brugier <cvubrugier@lacie.com> ---- - mdadm.h | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/mdadm.h b/mdadm.h -index 216c31d..1c72cc4 100644 ---- a/mdadm.h -+++ b/mdadm.h -@@ -1008,6 +1008,7 @@ struct stat64; - # include <features.h> - # ifndef __UCLIBC_HAS_LFS__ - # define lseek64 lseek -+# define off64_t off_t - # endif - # ifndef __UCLIBC_HAS_FTW__ - # undef HAVE_FTW --- -1.7.10.4 - |