summaryrefslogtreecommitdiffstats
path: root/package/mdadm/mdadm-2.6.1-001.uclibc-and-ftw-fixup.patch
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-06-26 16:35:07 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-06-26 16:35:07 +0000
commit5dd91e234e32bca04fb4bf0384fb14b556e64b1a (patch)
tree5d8a9e2183d17024134e84d734261daea8854e87 /package/mdadm/mdadm-2.6.1-001.uclibc-and-ftw-fixup.patch
parenta48d8f5414d9f6f7a861aa2a6e18f8b48610910a (diff)
downloadbuildroot-novena-5dd91e234e32bca04fb4bf0384fb14b556e64b1a.tar.gz
buildroot-novena-5dd91e234e32bca04fb4bf0384fb14b556e64b1a.zip
- apply the patches
Diffstat (limited to 'package/mdadm/mdadm-2.6.1-001.uclibc-and-ftw-fixup.patch')
-rw-r--r--package/mdadm/mdadm-2.6.1-001.uclibc-and-ftw-fixup.patch13
1 files changed, 1 insertions, 12 deletions
diff --git a/package/mdadm/mdadm-2.6.1-001.uclibc-and-ftw-fixup.patch b/package/mdadm/mdadm-2.6.1-001.uclibc-and-ftw-fixup.patch
index 9269e383c..cabf62e88 100644
--- a/package/mdadm/mdadm-2.6.1-001.uclibc-and-ftw-fixup.patch
+++ b/package/mdadm/mdadm-2.6.1-001.uclibc-and-ftw-fixup.patch
@@ -10,15 +10,4 @@ diff -rdup mdadm-2.6.1.orig/mdadm.h mdadm-2.6.1/mdadm.h
# include <features.h>
# ifndef __UCLIBC_HAS_FTW__
# undef HAVE_FTW
-diff -rdup mdadm-2.6.1.orig/util.c mdadm-2.6.1/util.c
---- mdadm-2.6.1.orig/util.c 2006-12-19 03:35:27.000000000 +0100
-+++ mdadm-2.6.1/util.c 2007-04-16 21:05:56.000000000 +0200
-@@ -468,7 +468,7 @@ int nftw(const char *path, int (*han)(co
- return ftw(path, add_dev_1, nopenfd);
- }
- #else
--int add_dev(const char *name, const struct stat *stb, int flag, struct FTW *s)
-+int add_dev_1(const char *name, const struct stat *stb, int flag, struct FTW *s)
- {
- return 0;
- }
+