update to 3.3.1 [release 3.3.1-1mamba;Tue Jun 17 2014]
This commit is contained in:
parent
56bfa4c285
commit
604ece26d6
22
mdadm-3.3.1-gcc-4.9.patch
Normal file
22
mdadm-3.3.1-gcc-4.9.patch
Normal file
@ -0,0 +1,22 @@
|
||||
super-intel.c:5063:2: error: right-hand operand of comma expression has no effect [-Werror=unused-value]
|
||||
snprintf((char *) spare->sig, MAX_SIGNATURE_LENGTH,
|
||||
^
|
||||
cc1: all warnings being treated as errors
|
||||
make: *** [super-intel.o] Error 1
|
||||
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
Upstream-Status: Pending
|
||||
|
||||
Index: mdadm-3.3/super-intel.c
|
||||
===================================================================
|
||||
--- mdadm-3.3.orig/super-intel.c 2014-05-02 15:08:21.154319651 -0700
|
||||
+++ mdadm-3.3/super-intel.c 2014-05-02 15:09:31.470985794 -0700
|
||||
@@ -5060,7 +5060,7 @@
|
||||
spare->cache_size = mpb->cache_size,
|
||||
spare->pwr_cycle_count = __cpu_to_le32(1),
|
||||
|
||||
- snprintf((char *) spare->sig, MAX_SIGNATURE_LENGTH,
|
||||
+ (void)snprintf((char *) spare->sig, MAX_SIGNATURE_LENGTH,
|
||||
MPB_SIGNATURE MPB_VERSION_RAID0);
|
||||
|
||||
for (d = super->disks; d; d = d->next) {
|
@ -1,5 +1,5 @@
|
||||
Name: mdadm
|
||||
Version: 3.3
|
||||
Version: 3.3.1
|
||||
Release: 1mamba
|
||||
Summary: A tool to manage MD devices aka Linux Software RAID
|
||||
Group: System/Kernel and Hardware
|
||||
@ -7,7 +7,8 @@ Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
|
||||
URL: http://neil.brown.name/blog/mdadm
|
||||
Source: http://www.kernel.org/pub/linux/utils/raid/mdadm/mdadm-%{version}.tar.bz2
|
||||
Source: http://www.kernel.org/pub/linux/utils/raid/mdadm/mdadm-%{version}.tar.xz
|
||||
Patch0: mdadm-3.3.1-gcc-4.9.patch
|
||||
License: GPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
@ -30,6 +31,7 @@ The particular differences to raidtools is that mdadm is a single program, and i
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%make
|
||||
@ -68,6 +70,9 @@ install -D -m 644 %{name}.conf-example \
|
||||
#%{_sbindir}/%{name}.static
|
||||
|
||||
%changelog
|
||||
* Tue Jun 17 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 3.3.1-1mamba
|
||||
- update to 3.3.1
|
||||
|
||||
* Fri Sep 06 2013 Automatic Build System <autodist@mambasoft.it> 3.3-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user