summaryrefslogtreecommitdiff
path: root/core/mdadm
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-09-11 01:51:01 -0700
committerroot <root@rshg054.dnsready.net>2013-09-11 01:51:01 -0700
commit2cfbbdcb041073ed1f9aff2f2fd630b24e039e6d (patch)
treedc3af95fb8134ce025aa4a516ab1a00adf0e1917 /core/mdadm
parentf5039428394b8715a685c006ab4c7421f45d0aff (diff)
Wed Sep 11 01:49:28 PDT 2013
Diffstat (limited to 'core/mdadm')
-rw-r--r--core/mdadm/PKGBUILD15
-rw-r--r--core/mdadm/disable-werror.patch4
2 files changed, 8 insertions, 11 deletions
diff --git a/core/mdadm/PKGBUILD b/core/mdadm/PKGBUILD
index 6d3cd4c24..1d862c439 100644
--- a/core/mdadm/PKGBUILD
+++ b/core/mdadm/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 186140 2013-05-21 09:11:15Z tpowa $
+# $Id: PKGBUILD 194030 2013-09-10 10:15:14Z tpowa $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
# Contributor: Judd Vinet <jvinet@zeroflux.org>
pkgname=mdadm
-pkgver=3.2.6
-pkgrel=4
+pkgver=3.3
+pkgrel=1
pkgdesc="A tool for managing/monitoring Linux md device arrays, also known as Software RAID"
arch=(i686 x86_64)
license=('GPL')
@@ -18,22 +18,19 @@ source=(ftp://ftp.kernel.org/pub/linux/utils/raid/mdadm/mdadm-$pkgver.tar.bz2
mdadm_hook
mdadm_udev_install
mdadm.service
- disable-werror.patch
- mdadm-fix-udev-rules.patch)
+ disable-werror.patch)
replaces=('raidtools')
-md5sums=('3e255dc71e5144bbcb872788ca647267'
+md5sums=('8ac04259cdd74b4566c3b6dea9414b57'
'5a37c112aa07dccdde62f9fa5b888607'
'af2f73f0094ebee66f503ca4710c7142'
'fbfb7d07efcbaf5dc61af424c5f6e352'
'b6b0bfd6487c99264578630616dfe5eb'
'eb1786b18fa4d13cfd7b71d6b05cfb4f'
- '4ad87b74a4bc9a34621280abe0e0c3e4'
- '6c76f2f261c1c3397c7290633f0a9acc')
+ '599745ed2bec4489e83991cff89c46ee')
prepare() {
cd $srcdir/$pkgname-$pkgver
patch -Np0 -i ../disable-werror.patch
- patch -p1 -i ../mdadm-fix-udev-rules.patch
}
build() {
diff --git a/core/mdadm/disable-werror.patch b/core/mdadm/disable-werror.patch
index 50a33f19d..a80a41456 100644
--- a/core/mdadm/disable-werror.patch
+++ b/core/mdadm/disable-werror.patch
@@ -3,9 +3,9 @@
@@ -42,7 +42,7 @@
CC = $(CROSS_COMPILE)gcc
- CXFLAGS = -ggdb
+ CXFLAGS ?= -ggdb
-CWFLAGS = -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter
+CWFLAGS = -Wall -Wstrict-prototypes -Wextra -Wno-unused-parameter
ifdef WARN_UNUSED
- CWFLAGS += -Wp,-D_FORTIFY_SOURCE=2 -O
+ CWFLAGS += -Wp,-D_FORTIFY_SOURCE=2 -O3
endif