ports/opt (3.3): mdadm: fix build with gcc 7
commit c5dcc41acf010f49151167cfd6b2acf900251dc4 Author: Juergen Daubert <jue@jue.li> Date: Mon Jan 22 12:27:20 2018 +0100 mdadm: fix build with gcc 7 diff --git a/mdadm/.signature b/mdadm/.signature index 2d0c186b1..affbde3c4 100644 --- a/mdadm/.signature +++ b/mdadm/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/opt.pub -RWSE3ohX2g5d/YkD2h/nS2z1LnhbHo6Wd7ys56pqrAcmFR//Q4sCDyeOgdUkXo0tIiStNbz7cfBYnjjdn/mJLOfxkowWZ3MgNgI= -SHA256 (Pkgfile) = c1abc4f947e710e5a2113407b14cd7f1f28a89e617ad42f9becac69b068a19ea +RWSE3ohX2g5d/ZeHufwwjuUopW6hc4FJYq9JPNEJv3fwzVFlm8gITDqb5lMfavt+ce3Ztydr0SBsfHd/mKafDQxFXBFfU1aLvgs= +SHA256 (Pkgfile) = 09eaaf739885c37e31acea4de17aa6f11c4485d683d514d99cd5a1eacb543047 SHA256 (.footprint) = 784f615315b564cf029c66854aa2ebf8bbbf7a4dd069d25824be4cea25ebebd2 SHA256 (mdadm-4.0.tar.xz) = 1d6ae7f24ced3a0fa7b5613b32f4a589bb4881e3946a5a2c3724056254ada3a9 diff --git a/mdadm/Pkgfile b/mdadm/Pkgfile index ecb1fd0a5..a21e8d5f3 100644 --- a/mdadm/Pkgfile +++ b/mdadm/Pkgfile @@ -4,12 +4,12 @@ name=mdadm version=4.0 -release=1 +release=2 source=(http://www.kernel.org/pub/linux/utils/raid/$name/$name-$version.tar.xz) build() { cd $name-$version - make CXFLAGS="$CFLAGS" all mdadm.static + make CXFLAGS="$CFLAGS -Wno-error" all mdadm.static make DESTDIR=$PKG install install -m755 mdadm.static $PKG/sbin }
participants (1)
-
crux@crux.nu