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 2C1A8158042 for ; Sun, 5 Sep 2021 16:41:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7FE07E0855; Sun, 5 Sep 2021 16:41:25 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 6B46AE078A for ; Sun, 5 Sep 2021 16:41:25 +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 5E0FC340A12 for ; Sun, 5 Sep 2021 16:41:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C8FB19B for ; Sun, 5 Sep 2021 16:41:22 +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: <1630860018.7b5f5bec1046b618a945eb0ead4d4e4b44cb3bd9.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/crc32c/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/crc32c/crc32c-1.0.6.ebuild X-VCS-Directories: dev-libs/crc32c/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: 7b5f5bec1046b618a945eb0ead4d4e4b44cb3bd9 X-VCS-Branch: master Date: Sun, 5 Sep 2021 16:41:22 +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: 4b737959-bb38-4244-9f16-ebf516c53e70 X-Archives-Hash: 85fd1719da54b4c81d1f68659fd3e0e9 commit: 7b5f5bec1046b618a945eb0ead4d4e4b44cb3bd9 Author: Arthur Zamarin gentoo org> AuthorDate: Sun Sep 5 16:33:46 2021 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Sun Sep 5 16:40:18 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b5f5bec dev-libs/crc32c: move to cmake.eclass, fix Werror Closes: https://bugs.gentoo.org/744658 Signed-off-by: Arthur Zamarin gentoo.org> dev-libs/crc32c/crc32c-1.0.6.ebuild | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/dev-libs/crc32c/crc32c-1.0.6.ebuild b/dev-libs/crc32c/crc32c-1.0.6.ebuild index 73fcf18bbb8..baf1e8683e9 100644 --- a/dev-libs/crc32c/crc32c-1.0.6.ebuild +++ b/dev-libs/crc32c/crc32c-1.0.6.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit cmake-utils +inherit cmake DESCRIPTION="CRC32C implementation with support for CPU-specific acceleration instructions" HOMEPAGE="https://github.com/google/crc32c" @@ -12,10 +12,14 @@ SRC_URI="https://github.com/google/crc32c/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="amd64 ~riscv x86" -IUSE="" DOCS=( README.md ) +src_prepare() { + sed -e '/-Werror/d' -i CMakeLists.txt || die + cmake_src_prepare +} + src_configure() { local mycmakeargs=( -DCRC32C_BUILD_TESTS=OFF @@ -23,5 +27,5 @@ src_configure() { -DCRC32C_USE_GLOG=OFF ) - cmake-utils_src_configure + cmake_src_configure }