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 91A9E1382C5 for ; Fri, 9 Apr 2021 01:45:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DBC17E093A; Fri, 9 Apr 2021 01:45:09 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 C31C8E093A for ; Fri, 9 Apr 2021 01:45:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 7774F335C16 for ; Fri, 9 Apr 2021 01:45:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D198E640 for ; Fri, 9 Apr 2021 01:45:06 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1617932670.cdf5f2ffbabfb6c65655ddfb3aa3a924bf0ee362.mattst88@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/cJSON/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/cJSON/cJSON-1.7.14.ebuild X-VCS-Directories: dev-libs/cJSON/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: cdf5f2ffbabfb6c65655ddfb3aa3a924bf0ee362 X-VCS-Branch: master Date: Fri, 9 Apr 2021 01:45:06 +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: 603c6395-b710-4fc3-9dc7-ad7140689ee2 X-Archives-Hash: afec82a0d9ee56ffa25ded4512b89491 commit: cdf5f2ffbabfb6c65655ddfb3aa3a924bf0ee362 Author: Matt Turner gentoo org> AuthorDate: Fri Apr 9 01:44:26 2021 +0000 Commit: Matt Turner gentoo org> CommitDate: Fri Apr 9 01:44:30 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cdf5f2ff dev-libs/cJSON: Drop -Werror Closes: https://bugs.gentoo.org/781614 Signed-off-by: Matt Turner gentoo.org> dev-libs/cJSON/cJSON-1.7.14.ebuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/dev-libs/cJSON/cJSON-1.7.14.ebuild b/dev-libs/cJSON/cJSON-1.7.14.ebuild index 275c5cc7aef..f7416639516 100644 --- a/dev-libs/cJSON/cJSON-1.7.14.ebuild +++ b/dev-libs/cJSON/cJSON-1.7.14.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020 Gentoo Authors +# Copyright 2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -15,6 +15,12 @@ KEYWORDS="~amd64" IUSE="test" RESTRICT="!test? ( test )" +src_prepare() { + cmake_src_prepare + + sed -i -e '/-Werror/d' CMakeLists.txt || die +} + src_configure() { local mycmakeargs=( -DENABLE_CJSON_TEST=$(usex test)