sys-process/criu: disable -Werror, bug #679140
authorSergei Trofimovich <slyfox@gentoo.org>
Sat, 2 Mar 2019 09:56:48 +0000 (09:56 +0000)
committerSergei Trofimovich <slyfox@gentoo.org>
Sat, 2 Mar 2019 09:57:05 +0000 (09:57 +0000)
gcc-8 detected new warnings and broke the build:
  compel/include/uapi/compel/asm/fpu.h:89:1: error:
    alignment 1 of ‘struct xsave_struct_ia32’ is less than 16
      [-Werror=packed-not-aligned]

The change disables -Werror as we do in unstable ebuilds.

Reported-by: Thomas Beutin
Closes: https://bugs.gentoo.org/679140
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
sys-process/criu/criu-3.6.ebuild

index 92f3e86360563fa30add08c36bb2e0fe537eaf77..5e41c3a815554efa847a0e909da40c0709cc0281 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -97,6 +97,7 @@ src_install() {
                LOGROTATEDIR="${EPREFIX}"/etc/logrotate.d \
                DESTDIR="${D}" \
                LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
+               WERROR=0 \
                install
 
        dodoc CREDITS README.md