From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AB05E138334 for ; Tue, 19 Jun 2018 05:58:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1A1BAE08CA; Tue, 19 Jun 2018 05:58:41 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BEDABE08CA for ; Tue, 19 Jun 2018 05:58:40 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2F1A5335C90 for ; Tue, 19 Jun 2018 05:58:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7B2612CB for ; Tue, 19 Jun 2018 05:58:36 +0000 (UTC) From: "Mike Frysinger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Frysinger" Message-ID: <1529387903.0fd435f4846f33b0e98d869f5e1881d77b5d3727.vapier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-fs/nfs-utils/files/, net-fs/nfs-utils/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-fs/nfs-utils/files/nfs-utils-2.3.2-no-werror.patch net-fs/nfs-utils/nfs-utils-2.3.2.ebuild X-VCS-Directories: net-fs/nfs-utils/files/ net-fs/nfs-utils/ X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger X-VCS-Revision: 0fd435f4846f33b0e98d869f5e1881d77b5d3727 X-VCS-Branch: master Date: Tue, 19 Jun 2018 05:58:36 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 76f6a2bd-5556-47b0-964a-d8a4a653daa8 X-Archives-Hash: a566b5a1af89056ea1e5ff82d29e63aa commit: 0fd435f4846f33b0e98d869f5e1881d77b5d3727 Author: Mike Frysinger gentoo org> AuthorDate: Tue Jun 19 05:56:55 2018 +0000 Commit: Mike Frysinger gentoo org> CommitDate: Tue Jun 19 05:58:23 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0fd435f4 net-fs/nfs-utils: drop -Werror flags from build #656984 Closes: https://bugs.gentoo.org/656984 .../files/nfs-utils-2.3.2-no-werror.patch | 53 ++++++++++++++++++++++ net-fs/nfs-utils/nfs-utils-2.3.2.ebuild | 1 + 2 files changed, 54 insertions(+) diff --git a/net-fs/nfs-utils/files/nfs-utils-2.3.2-no-werror.patch b/net-fs/nfs-utils/files/nfs-utils-2.3.2-no-werror.patch new file mode 100644 index 00000000000..d06fc4ce8b8 --- /dev/null +++ b/net-fs/nfs-utils/files/nfs-utils-2.3.2-no-werror.patch @@ -0,0 +1,53 @@ +https://bugs.gentoo.org/656984 + +Don't build with -Werror flags. + +--- a/configure.ac ++++ b/configure.ac +@@ -544,45 +544,11 @@ + AC_SUBST(LDFLAGS_FOR_BUILD) + + my_am_cflags="\ +- -pipe \ + -Wall \ + -Wextra \ +- -Werror=strict-prototypes \ +- -Werror=missing-prototypes \ +- -Werror=missing-declarations \ +- -Werror=format=2 \ +- -Werror=undef \ +- -Werror=missing-include-dirs \ +- -Werror=strict-aliasing=2 \ +- -Werror=init-self \ +- -Werror=implicit-function-declaration \ +- -Werror=return-type \ +- -Werror=switch \ +- -Werror=overflow \ +- -Werror=parentheses \ +- -Werror=aggregate-return \ +- -Werror=unused-result \ + -fno-strict-aliasing \ + " +- +-AC_DEFUN([CHECK_CCSUPPORT], [ +- my_save_cflags="$CFLAGS" +- CFLAGS=$1 +- AC_MSG_CHECKING([whether CC supports $1]) +- AC_COMPILE_IFELSE([AC_LANG_PROGRAM([])], +- [AC_MSG_RESULT([yes])] +- [$2+=$1], +- [AC_MSG_RESULT([no])] +- ) +- CFLAGS="$my_save_cflags" +-]) +- +-CHECK_CCSUPPORT([-Werror=format-overflow=2], [flg1]) +-CHECK_CCSUPPORT([-Werror=int-conversion], [flg2]) +-CHECK_CCSUPPORT([-Werror=incompatible-pointer-types], [flg3]) +-CHECK_CCSUPPORT([-Werror=misleading-indentation], [flg4]) +- +-AC_SUBST([AM_CFLAGS], ["$my_am_cflags $flg1 $flg2 $flg3 $flg4"]) ++AC_SUBST([AM_CFLAGS], ["$my_am_cflags"]) + + # Make sure that $ACLOCAL_FLAGS are used during a rebuild + AC_SUBST([ACLOCAL_AMFLAGS], ["-I $ac_macro_dir \$(ACLOCAL_FLAGS)"]) diff --git a/net-fs/nfs-utils/nfs-utils-2.3.2.ebuild b/net-fs/nfs-utils/nfs-utils-2.3.2.ebuild index 16a7c4fd9ce..553fb8c8b2d 100644 --- a/net-fs/nfs-utils/nfs-utils-2.3.2.ebuild +++ b/net-fs/nfs-utils/nfs-utils-2.3.2.ebuild @@ -67,6 +67,7 @@ PATCHES=( "${FILESDIR}"/${PN}-1.1.4-mtab-sym.patch "${FILESDIR}"/${PN}-1.2.8-cross-build.patch "${FILESDIR}"/${PN}-2.3.2-junction_libs.patch + "${FILESDIR}"/${PN}-2.3.2-no-werror.patch ) src_prepare() {