SOURCES: mdadm-fix.patch (NEW) - fix build without ftw() (in uClibc)

qboosh qboosh at pld-linux.org
Tue Jul 11 18:55:41 CEST 2006


Author: qboosh                       Date: Tue Jul 11 16:55:41 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix build without ftw() (in uClibc)

---- Files affected:
SOURCES:
   mdadm-fix.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/mdadm-fix.patch
diff -u /dev/null SOURCES/mdadm-fix.patch:1.1
--- /dev/null	Tue Jul 11 18:55:41 2006
+++ SOURCES/mdadm-fix.patch	Tue Jul 11 18:55:35 2006
@@ -0,0 +1,11 @@
+--- mdadm-2.5.2/util.c.orig	2006-06-26 07:10:45.000000000 +0200
++++ mdadm-2.5.2/util.c	2006-07-11 18:40:45.760592000 +0200
+@@ -389,7 +389,7 @@
+ 	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)
+ {
+ 	return 0;
+ }
================================================================


More information about the pld-cvs-commit mailing list