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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 59412158012 for ; Tue, 13 Sep 2022 19:26:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8C26DE0923; Tue, 13 Sep 2022 19:26:04 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 77F61E0923 for ; Tue, 13 Sep 2022 19:26:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A702A33BEC2 for ; Tue, 13 Sep 2022 19:26:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 923A05DB for ; Tue, 13 Sep 2022 19:26:00 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1663097102.d9d2e959055b84b0bd6a4cafeea89e207f7d1aff.asturm@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: dev-libs/appstream/files/, dev-libs/appstream/ X-VCS-Repository: proj/kde X-VCS-Files: dev-libs/appstream/appstream-9999.ebuild dev-libs/appstream/files/appstream-0.14.3-disable-Werror-flags.patch X-VCS-Directories: dev-libs/appstream/files/ dev-libs/appstream/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: d9d2e959055b84b0bd6a4cafeea89e207f7d1aff X-VCS-Branch: master Date: Tue, 13 Sep 2022 19:26:00 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 6dd92f63-160e-4619-9149-f98b9479a42c X-Archives-Hash: 7ca936b3c1b2d44f40a53d2bf9fd0d2d commit: d9d2e959055b84b0bd6a4cafeea89e207f7d1aff Author: Andreas Sturmlechner gentoo org> AuthorDate: Fri Mar 26 20:00:50 2021 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Tue Sep 13 19:25:02 2022 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=d9d2e959 dev-libs/appstream: Add disable-Werror-flags.patch Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner gentoo.org> dev-libs/appstream/appstream-9999.ebuild | 4 ++++ .../files/appstream-0.14.3-disable-Werror-flags.patch | 12 ++++++++++++ 2 files changed, 16 insertions(+) diff --git a/dev-libs/appstream/appstream-9999.ebuild b/dev-libs/appstream/appstream-9999.ebuild index 53ddd3f800..8e73bd4596 100644 --- a/dev-libs/appstream/appstream-9999.ebuild +++ b/dev-libs/appstream/appstream-9999.ebuild @@ -46,6 +46,10 @@ BDEPEND=" test? ( dev-qt/linguist-tools:5 ) " +PATCHES=( + "${FILESDIR}"/${PN}-0.14.3-disable-Werror-flags.patch # bug 733774 +) + src_prepare() { default sed -e "/^as_doc_target_dir/s/appstream/${PF}/" -i docs/meson.build || die diff --git a/dev-libs/appstream/files/appstream-0.14.3-disable-Werror-flags.patch b/dev-libs/appstream/files/appstream-0.14.3-disable-Werror-flags.patch new file mode 100644 index 0000000000..4e5a117061 --- /dev/null +++ b/dev-libs/appstream/files/appstream-0.14.3-disable-Werror-flags.patch @@ -0,0 +1,12 @@ +--- a/meson.build ++++ b/meson.build +@@ -52,9 +52,6 @@ + add_project_arguments(maintainer_c_args, language: 'cpp') + endif + +-# a few compiler warning flags we always want enabled +-add_project_arguments('-Werror=implicit-function-declaration', '-Wno-unused-parameter', language: 'c') +-add_project_arguments('-Wno-unused-parameter', language: 'cpp') + add_project_arguments('-DAS_COMPILATION', language: 'c') + + # Vendor extensions in system headers