mdadm: update to 2.6.2
This commit is contained in:
parent
ccd7000695
commit
3485d6ee7c
@ -1 +1,2 @@
|
||||
dd951296208068119132a684d835e18c mdadm-2.6.1.tar.gz
|
||||
e42142677104e1984d726862488b4af4 mdadm-2.6.2.patch
|
||||
e34d2590523d679895966c4111670450 mdadm-2.6.2.tar.gz
|
||||
|
@ -3,11 +3,13 @@
|
||||
# Maintainer: Jürgen Daubert, juergen dot daubert at t-online dot de
|
||||
|
||||
name=mdadm
|
||||
version=2.6.1
|
||||
version=2.6.2
|
||||
release=1
|
||||
source=(http://www.kernel.org/pub/linux/utils/raid/$name/$name-$version.tar.gz)
|
||||
source=(http://www.kernel.org/pub/linux/utils/raid/$name/$name-$version.tar.gz
|
||||
$name-$version.patch)
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
patch -p1 -i $SRC/$name-$version.patch
|
||||
make CXFLAGS="$CFLAGS" DESTDIR=$PKG MANDIR=/usr/man install
|
||||
}
|
||||
|
28
mdadm/mdadm-2.6.2.patch
Normal file
28
mdadm/mdadm-2.6.2.patch
Normal file
@ -0,0 +1,28 @@
|
||||
Fix compile error in Detail.c
|
||||
|
||||
'avail' is undefined if '--export', so make sure we don't try to use
|
||||
it.
|
||||
|
||||
|
||||
### Diffstat output
|
||||
./Detail.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff .prev/Detail.c ./Detail.c
|
||||
--- .prev/Detail.c 2007-05-21 14:25:50.000000000 +1000
|
||||
+++ ./Detail.c 2007-05-22 08:57:59.000000000 +1000
|
||||
@@ -377,12 +377,12 @@ This is pretty boring
|
||||
|
||||
if (brief > 1 && devices) printf("\n devices=%s", devices);
|
||||
if (brief) printf("\n");
|
||||
-out:
|
||||
if (test &&
|
||||
!enough(array.level, array.raid_disks, array.layout,
|
||||
1, avail, avail_disks))
|
||||
rv = 2;
|
||||
|
||||
+out:
|
||||
close(fd);
|
||||
return rv;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user