]> git.pld-linux.org Git - packages/mdadm.git/commitdiff
- rel 2; fix segv at assemble (sometimes only) auto/th/mdadm-3_2_3-2
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 16 Feb 2012 05:40:45 +0000 (05:40 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    mdadm-segv.patch -> 1.1
    mdadm.spec -> 1.115

mdadm-segv.patch [new file with mode: 0644]
mdadm.spec

diff --git a/mdadm-segv.patch b/mdadm-segv.patch
new file mode 100644 (file)
index 0000000..2a09752
--- /dev/null
@@ -0,0 +1,11 @@
+--- mdadm-3.2.3/config.c~      2011-12-15 05:13:08.000000000 +0100
++++ mdadm-3.2.3/config.c       2012-02-16 06:39:36.563902053 +0100
+@@ -1045,7 +1045,7 @@
+                                       array_list->devname);
+                       continue;
+               }
+-              if (array_list->devices &&
++              if (array_list->devices && devname &&
+                   !match_oneof(array_list->devices, devname)) {
+                       if (verbose >= 2 && array_list->devname)
+                               fprintf(stderr, Name
index 30877e1305e7a4ef0d0d1daa93167159cc96ab8d..0667cf905c4a6dce12d9a77504fe28b346daf480 100644 (file)
@@ -8,7 +8,7 @@ Summary:        Tool for creating and maintaining software RAID devices
 Summary(pl.UTF-8):     Narzędzie do tworzenia i obsługi programowych macierzy RAID
 Name:          mdadm
 Version:       3.2.3
-Release:       1
+Release:       2
 License:       GPL v2+
 Group:         Base
 Source0:       http://www.kernel.org/pub/linux/utils/raid/mdadm/%{name}-%{version}.tar.bz2
@@ -19,6 +19,7 @@ Source3:      %{name}.cron
 Source4:       %{name}-checkarray
 Source5:       %{name}-initramfs-hook
 Source6:       %{name}-initramfs-local-top
+Patch0:                %{name}-segv.patch
 URL:           http://www.kernel.org/pub/linux/utils/raid/mdadm/
 BuildRequires: groff
 BuildRequires: rpmbuild(macros) >= 1.213
@@ -77,6 +78,7 @@ Narzędzie do obsługi programowych macierzy RAID - skrypty dla initramfs-tools.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %if %{with initrd}
This page took 0.061982 seconds and 4 git commands to generate.