public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Arthur Zamarin" <arthurzam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/crc32c/
Date: Sun,  5 Sep 2021 16:41:22 +0000 (UTC)	[thread overview]
Message-ID: <1630860018.7b5f5bec1046b618a945eb0ead4d4e4b44cb3bd9.arthurzam@gentoo> (raw)

commit:     7b5f5bec1046b618a945eb0ead4d4e4b44cb3bd9
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sun Sep  5 16:33:46 2021 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> 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 <arthurzam <AT> 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
 }


             reply	other threads:[~2021-09-05 16:41 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-05 16:41 Arthur Zamarin [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-09-27 16:44 [gentoo-commits] repo/gentoo:master commit in: dev-libs/crc32c/ WANG Xuerui
2023-04-30  7:53 Andreas Sturmlechner
2023-03-15 19:57 Arthur Zamarin
2023-03-15 19:57 Arthur Zamarin
2023-03-15 19:57 Arthur Zamarin
2023-03-15 19:57 Arthur Zamarin
2023-03-15 19:57 Arthur Zamarin
2023-03-15 19:57 Arthur Zamarin
2023-02-25  5:46 Arthur Zamarin
2023-02-09 15:14 Arthur Zamarin
2023-02-09 15:14 Arthur Zamarin
2022-02-02  0:08 Sam James
2022-02-01  7:36 Agostino Sarubbo
2022-02-01  7:30 Agostino Sarubbo
2022-02-01  5:57 Sam James
2022-01-31 20:11 Arthur Zamarin
2022-01-31 20:08 Arthur Zamarin
2022-01-17  8:13 Joshua Kinard
2021-10-27 22:35 Sam James
2021-10-24  6:58 Arthur Zamarin
2021-10-21 17:57 Arthur Zamarin
2021-10-12 18:57 Sam James
2021-10-12 18:57 Sam James
2021-10-04 22:58 Sam James
2021-09-16  1:49 Sam James
2021-09-10  1:27 Sam James
2021-09-07  3:07 Sam James
2021-09-05 16:41 Arthur Zamarin
2021-08-13 15:20 Marek Szuba
2019-04-29 14:24 Jason Zaman
2019-02-01 12:17 Jason Zaman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1630860018.7b5f5bec1046b618a945eb0ead4d4e4b44cb3bd9.arthurzam@gentoo \
    --to=arthurzam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox