Commit 0c776124 authored by Richard van Paasen's avatar Richard van Paasen Committed by Peter Korsgaard
Browse files

mdadm: update to 2.6.9



Closes #805

This patch updates mdadm to 2.6.9 and uses the new makefile template.

Signed-off-by: default avatarRichard van Paasen <rvpaasen@t3i.nl>
Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent a038602e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -8,12 +8,13 @@
	New packages: librsync

	Updated/fixed packages: busybox, dosfstools, e2fsprogs, iperf,
	libglib2, libpng, memstat, mtd-utils, pppd, setserial,
	libglib2, libpng, mdadm, memstat, mtd-utils, pppd, setserial,
	squashfs, wget

	Issues resolved (http://bugs.uclibc.org):

	#800: [PATCH] iperf update to 2.0.4
	#805: [PATCH] mdadm - version update
	#1111: Bump wget to 1.12 and migrate to Makefile.autotools.in
	#1129: Bump memstat to 0.8 and migrate to Makefile.package.in
	#1273: BR2_INET_IPV6 does not enable IPv6 in pppd
+0 −13
Original line number Diff line number Diff line
diff -rdup mdadm-2.6.1.orig/mdadm.h mdadm-2.6.1/mdadm.h
--- mdadm-2.6.1.orig/mdadm.h	2007-02-22 04:59:28.000000000 +0100
+++ mdadm-2.6.1/mdadm.h	2007-04-16 20:53:53.000000000 +0200
@@ -382,7 +382,7 @@ struct stat64;
 #define HAVE_NFTW  we assume
 #define HAVE_FTW
 
-#ifdef UCLIBC
+#if defined __UCLIBC__ || /* older did use that? */ defined UCLIBC
 # include <features.h>
 # ifndef  __UCLIBC_HAS_FTW__
 #  undef HAVE_FTW
+0 −13
Original line number Diff line number Diff line
diff -rdup mdadm-2.6.1-001/mdadm.h mdadm-2.6.1/mdadm.h
--- mdadm-2.6.1-001/mdadm.h	2007-04-17 17:41:04.000000000 +0200
+++ mdadm-2.6.1/mdadm.h	2007-04-17 17:38:43.000000000 +0200
@@ -388,6 +388,9 @@ struct stat64;
 #  undef HAVE_FTW
 #  undef HAVE_NFTW
 # endif
+# ifndef __UCLIBC_HAS_LFS__
+#  define lseek64 lseek
+# endif
 #endif
 
 #ifdef __dietlibc__
+15 −0
Original line number Diff line number Diff line
diff -Naur mdadm-2.6.9/Makefile mdadm-2.6.9-patched/Makefile
--- mdadm-2.6.9/Makefile	2009-03-10 07:01:17.000000000 +0100
+++ mdadm-2.6.9-patched/Makefile	2009-10-10 15:53:13.329068128 +0200
@@ -161,7 +161,9 @@
 sha1.o : sha1.c sha1.h md5.h
 	$(CC) $(CFLAGS) -DHAVE_STDINT_H -o sha1.o -c sha1.c
 
-install : mdadm install-man
+install : install-mdadm install-man
+
+install-mdadm : mdadm
 	$(INSTALL) -D $(STRIP) -m 755 mdadm $(DESTDIR)$(BINDIR)/mdadm
 
 install-static : mdadm.static install-man
Loading