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 B668A15A7D9 for ; Fri, 17 Mar 2023 16:03:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0B68A2BC206; Fri, 17 Mar 2023 16:03:45 +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 E62CC2BC206 for ; Fri, 17 Mar 2023 16:03:44 +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 03A37341197 for ; Fri, 17 Mar 2023 16:03:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7A4BB73E for ; Fri, 17 Mar 2023 16:03:42 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1679068999.bb04b47145e309e8f7950900cd0c378d4ba66771.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-office/gnucash/files/, app-office/gnucash/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-office/gnucash/files/gnucash-4.13-no-werror.patch app-office/gnucash/gnucash-4.13.ebuild X-VCS-Directories: app-office/gnucash/ app-office/gnucash/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: bb04b47145e309e8f7950900cd0c378d4ba66771 X-VCS-Branch: master Date: Fri, 17 Mar 2023 16:03:42 +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: 5fa86fd0-0994-4ebd-97dd-b3ccb3433fcf X-Archives-Hash: 34679c908dc58c74f130cfefbfa2ddf8 commit: bb04b47145e309e8f7950900cd0c378d4ba66771 Author: Sam James gentoo org> AuthorDate: Fri Mar 17 16:02:07 2023 +0000 Commit: Sam James gentoo org> CommitDate: Fri Mar 17 16:03:19 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb04b471 app-office/gnucash: drop -Werror Closes: https://bugs.gentoo.org/901485 Signed-off-by: Sam James gentoo.org> .../gnucash/files/gnucash-4.13-no-werror.patch | 20 ++++++++++++++++++++ app-office/gnucash/gnucash-4.13.ebuild | 1 + 2 files changed, 21 insertions(+) diff --git a/app-office/gnucash/files/gnucash-4.13-no-werror.patch b/app-office/gnucash/files/gnucash-4.13-no-werror.patch new file mode 100644 index 000000000000..5b45898eacc1 --- /dev/null +++ b/app-office/gnucash/files/gnucash-4.13-no-werror.patch @@ -0,0 +1,20 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -578,14 +578,14 @@ set(CMAKE_C_STANDARD_REQUIRED ON) + set(CMAKE_C_EXTENSIONS ON) + + if (UNIX) +- set( CMAKE_C_FLAGS "-Werror -Wdeclaration-after-statement -Wno-pointer-sign -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-unused ${CMAKE_C_FLAGS}") ++ set( CMAKE_C_FLAGS "-Wdeclaration-after-statement -Wno-pointer-sign -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-unused ${CMAKE_C_FLAGS}") + set( CMAKE_C_FLAGS "-Wno-error=deprecated-declarations -Wno-error=parentheses ${CMAKE_C_FLAGS}") +- set( CMAKE_CXX_FLAGS "-Werror -Wall -Wmissing-declarations -Wno-unused -Wno-error=parentheses ${CMAKE_CXX_FLAGS}") ++ set( CMAKE_CXX_FLAGS "-Wall -Wmissing-declarations -Wno-unused -Wno-error=parentheses ${CMAKE_CXX_FLAGS}") + set( CMAKE_CXX_FLAGS "-Wno-error=deprecated-declarations ${REGISTER_CXXFLAG} ${CMAKE_CXX_FLAGS}") + set( CMAKE_C_FLAGS_RELEASE "-O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 ${CMAKE_C_FLAGS}") + endif() + if (MINGW) +- set( CMAKE_C_FLAGS "-Werror -Wdeclaration-after-statement -Wno-pointer-sign -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wno-unused -Wno-error=deprecated-declarations ${CMAKE_C_FLAGS}") ++ set( CMAKE_C_FLAGS "-Wdeclaration-after-statement -Wno-pointer-sign -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wno-unused -Wno-error=deprecated-declarations ${CMAKE_C_FLAGS}") + set( CMAKE_CXX_FLAGS "-DWINVER=0x0500 -D_EMULATE_GLIBC=0 ${CMAKE_CXX_FLAGS}") # Workaround for bug in gtest on mingw, see https://github.com/google/googletest/issues/893 and https://github.com/google/googletest/issues/920 + endif() + diff --git a/app-office/gnucash/gnucash-4.13.ebuild b/app-office/gnucash/gnucash-4.13.ebuild index f1335eb5330f..42de933a3330 100644 --- a/app-office/gnucash/gnucash-4.13.ebuild +++ b/app-office/gnucash/gnucash-4.13.ebuild @@ -101,6 +101,7 @@ PDEPEND=" PATCHES=( "${FILESDIR}/${PN}-3.8-exclude-license.patch" "${FILESDIR}/${PN}-4.12-drop-broken-test.patch" + "${FILESDIR}/${PN}-4.13-no-werror.patch" # This is only to prevent webkit2gtk-4 from being selected. # https://bugs.gentoo.org/893676