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 C77061382C5 for ; Mon, 1 Jun 2020 07:24:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0B2F4E088D; Mon, 1 Jun 2020 07:24:33 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 E428FE088D for ; Mon, 1 Jun 2020 07:24:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 9973C34F177 for ; Mon, 1 Jun 2020 07:24:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AC061AF for ; Mon, 1 Jun 2020 07:24:28 +0000 (UTC) From: "Sergei Trofimovich" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergei Trofimovich" Message-ID: <1590995315.f7a2c4a647ebed76a49f3c68942763d767999b55.slyfox@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libbloom/files/, net-libs/libbloom/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/libbloom/files/libbloom-1.5-AR.patch net-libs/libbloom/libbloom-1.5-r2.ebuild X-VCS-Directories: net-libs/libbloom/files/ net-libs/libbloom/ X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: f7a2c4a647ebed76a49f3c68942763d767999b55 X-VCS-Branch: master Date: Mon, 1 Jun 2020 07:24:28 +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: a43b13d1-e133-48b2-b25f-3317704990ea X-Archives-Hash: 483b49fc8757257227c933c3bbb18afd commit: f7a2c4a647ebed76a49f3c68942763d767999b55 Author: Sergei Trofimovich gentoo org> AuthorDate: Mon Jun 1 07:08:35 2020 +0000 Commit: Sergei Trofimovich gentoo org> CommitDate: Mon Jun 1 07:08:35 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7a2c4a6 net-libs/libbloom: respect user's AR Reported-by: Agostino Sarubbo Closes: https://bugs.gentoo.org/721238 Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Sergei Trofimovich gentoo.org> net-libs/libbloom/files/libbloom-1.5-AR.patch | 11 ++++++++++ net-libs/libbloom/libbloom-1.5-r2.ebuild | 30 +++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) diff --git a/net-libs/libbloom/files/libbloom-1.5-AR.patch b/net-libs/libbloom/files/libbloom-1.5-AR.patch new file mode 100644 index 00000000000..5a1b14d76b0 --- /dev/null +++ b/net-libs/libbloom/files/libbloom-1.5-AR.patch @@ -0,0 +1,11 @@ +--- a/Makefile ++++ b/Makefile +@@ -97,7 +97,7 @@ $(BUILD)/$(SO_VERSIONED): $(BUILD)/murmurhash2.o $(BUILD)/bloom.o + rm -f libbloom.$(SO) && ln -s $(BLOOM_SONAME) libbloom.$(SO)) + + $(BUILD)/libbloom.a: $(BUILD)/murmurhash2.o $(BUILD)/bloom.o +- (cd $(BUILD) && ar rcs libbloom.a bloom.o murmurhash2.o) ++ (cd $(BUILD) && $(AR) rcs libbloom.a bloom.o murmurhash2.o) + + $(BUILD)/test-libbloom: $(TESTDIR)/test.c $(BUILD)/$(SO_VERSIONED) + $(COM) -I$(TOP) -c $(TESTDIR)/test.c -o $(BUILD)/test.o diff --git a/net-libs/libbloom/libbloom-1.5-r2.ebuild b/net-libs/libbloom/libbloom-1.5-r2.ebuild new file mode 100644 index 00000000000..9be6bd8a03a --- /dev/null +++ b/net-libs/libbloom/libbloom-1.5-r2.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="A simple and small bloom filter implementation in plain C." +HOMEPAGE="https://github.com/jvirkki/libbloom" +SRC_URI="https://github.com/jvirkki/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND="" + +PATCHES=("${FILESDIR}"/${PN}-1.5-AR.patch) + +src_compile() { + tc-export AR CC + emake BITS=default OPT= +} + +src_install() { + doheader bloom.h + dolib.so build/${PN}.so* +}