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 862B015815E for ; Thu, 1 Feb 2024 14:15:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A5281E2A7A; Thu, 1 Feb 2024 14:15:32 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4A24DE2A7A for ; Thu, 1 Feb 2024 14:15:32 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0E36E3431DD for ; Thu, 1 Feb 2024 14:15:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6B403AE3 for ; Thu, 1 Feb 2024 14:15:29 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1706796368.5bcf6a5c3b0a9aa25bdef30f1a060f4669afa385.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/qdevicemonitor/, dev-util/qdevicemonitor/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/qdevicemonitor/files/qdevicemonitor-1.0.1-disable-pedantic-errors.patch dev-util/qdevicemonitor/qdevicemonitor-1.0.1-r2.ebuild X-VCS-Directories: dev-util/qdevicemonitor/files/ dev-util/qdevicemonitor/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 5bcf6a5c3b0a9aa25bdef30f1a060f4669afa385 X-VCS-Branch: master Date: Thu, 1 Feb 2024 14:15:29 +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: d28fc606-dae9-4fd2-9f06-940f33bba537 X-Archives-Hash: c9d3d442a1cce8507514ca7c70df9768 commit: 5bcf6a5c3b0a9aa25bdef30f1a060f4669afa385 Author: Alexander Lopatin gmail com> AuthorDate: Wed Dec 13 11:48:46 2023 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Thu Feb 1 14:06:08 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bcf6a5c dev-util/qdevicemonitor: disable pedantic errors Closes: https://bugs.gentoo.org/919714 Signed-off-by: Alexander Lopatin gmail.com> Closes: https://github.com/gentoo/gentoo/pull/34264 Signed-off-by: Joonas Niilola gentoo.org> ...vicemonitor-1.0.1-disable-pedantic-errors.patch | 31 ++++++++++++++++++++++ .../qdevicemonitor/qdevicemonitor-1.0.1-r2.ebuild | 3 ++- 2 files changed, 33 insertions(+), 1 deletion(-) diff --git a/dev-util/qdevicemonitor/files/qdevicemonitor-1.0.1-disable-pedantic-errors.patch b/dev-util/qdevicemonitor/files/qdevicemonitor-1.0.1-disable-pedantic-errors.patch new file mode 100644 index 000000000000..61e16be45360 --- /dev/null +++ b/dev-util/qdevicemonitor/files/qdevicemonitor-1.0.1-disable-pedantic-errors.patch @@ -0,0 +1,31 @@ +From 5b2a6cbc4d64d5ee48d6fae1cf2a8f17335be634 Mon Sep 17 00:00:00 2001 +From: Alexander Lopatin +Date: Wed, 13 Dec 2023 19:16:54 +0800 +Subject: [PATCH] Disable pedantic errors + +https://bugs.gentoo.org/919714 +--- + qdevicemonitor/qdevicemonitor.pro | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/qdevicemonitor/qdevicemonitor.pro b/qdevicemonitor/qdevicemonitor.pro +index 6aa2ecf..5327af0 100644 +--- a/qdevicemonitor/qdevicemonitor.pro ++++ b/qdevicemonitor/qdevicemonitor.pro +@@ -61,11 +61,11 @@ FORMS += \ + + CONFIG += c++11 link_pkgconfig + +-QMAKE_CXXFLAGS += -pedantic-errors -pedantic -Wextra -Wall ++QMAKE_CXXFLAGS += -Wextra -Wall + QMAKE_CXXFLAGS_RELEASE -= -O2 + QMAKE_CXXFLAGS_RELEASE += -O3 + +-QMAKE_CFLAGS += -pedantic-errors -pedantic -Wextra -Wall -std=c11 ++QMAKE_CFLAGS += -Wextra -Wall -std=c11 + QMAKE_CFLAGS_RELEASE -= -O2 + QMAKE_CFLAGS_RELEASE += -O3 + +-- +2.41.0 + diff --git a/dev-util/qdevicemonitor/qdevicemonitor-1.0.1-r2.ebuild b/dev-util/qdevicemonitor/qdevicemonitor-1.0.1-r2.ebuild index 9fb33ff061a4..edf5f5dbf0ce 100644 --- a/dev-util/qdevicemonitor/qdevicemonitor-1.0.1-r2.ebuild +++ b/dev-util/qdevicemonitor/qdevicemonitor-1.0.1-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -34,6 +34,7 @@ PATCHES=( "${FILESDIR}"/${P}-screen-geometry-is-deprecated.patch "${FILESDIR}"/${P}-endl-is-deprecated.patch "${FILESDIR}"/${P}-disable-warnings-as-errors.patch + "${FILESDIR}"/${P}-disable-pedantic-errors.patch ) src_configure() {