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 EBBA5158041 for ; Fri, 23 Feb 2024 11:49:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1C806E2A78; Fri, 23 Feb 2024 11:49:35 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id ED406E2A78 for ; Fri, 23 Feb 2024 11:49:34 +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 03D3E343018 for ; Fri, 23 Feb 2024 11:49:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8DBD2B2F for ; Fri, 23 Feb 2024 11:49:32 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1708688965.fe07b4b07e3e65f0348bd3bb8af5ef6151a97854.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/qxmledit/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-editors/qxmledit/qxmledit-0.9.18-r1.ebuild X-VCS-Directories: app-editors/qxmledit/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: fe07b4b07e3e65f0348bd3bb8af5ef6151a97854 X-VCS-Branch: master Date: Fri, 23 Feb 2024 11:49:32 +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: 8632c374-b4ca-49e4-8260-79692647fe4a X-Archives-Hash: 2f6643c78c2b74378576d1e7d49706f3 commit: fe07b4b07e3e65f0348bd3bb8af5ef6151a97854 Author: Arthur Zamarin gentoo org> AuthorDate: Fri Feb 23 11:47:35 2024 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Fri Feb 23 11:49:25 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe07b4b0 app-editors/qxmledit: fix -Werror The way we need to pass anto Werror changed, and I missed it when bumping. We can do it now using an environment variable, which is nicer than `sed` command. No revbump, since it affect compilation itself only (failing if there were warnings). Closes: https://bugs.gentoo.org/925324 Signed-off-by: Arthur Zamarin gentoo.org> app-editors/qxmledit/qxmledit-0.9.18-r1.ebuild | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/app-editors/qxmledit/qxmledit-0.9.18-r1.ebuild b/app-editors/qxmledit/qxmledit-0.9.18-r1.ebuild index 991f54019207..ee4baa01ebfb 100644 --- a/app-editors/qxmledit/qxmledit-0.9.18-r1.ebuild +++ b/app-editors/qxmledit/qxmledit-0.9.18-r1.ebuild @@ -35,14 +35,6 @@ BDEPEND="dev-qt/linguist-tools:5" DOCS=( AUTHORS NEWS README ) -src_prepare() { - default - - # bug 568746 - sed -i -e '/QMAKE_CXXFLAGS/s:-Werror::' \ - src/{QXmlEdit,QXmlEditWidget,sessions/QXmlEditSessions}.pro || die -} - src_configure() { export \ QXMLEDIT_INST_DIR="${EPREFIX}/usr/bin" \ @@ -51,6 +43,9 @@ src_configure() { QXMLEDIT_INST_DATA_DIR="${EPREFIX}/usr/share/${PN}" \ QXMLEDIT_INST_DOC_DIR="${EPREFIX}/usr/share/doc/${PF}" + # avoid -Werror (affecting src/coptions.pri) bug #925324 + export QXMLEDIT_INST_DISABLE_COMPILE_WARNINGS=Y + # avoid internal compiler errors use x86 && export QXMLEDIT_INST_AVOID_PRECOMP_HEADERS=Y