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 86FDC15800F for ; Sun, 15 Jan 2023 22:53:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C5CB1E086F; Sun, 15 Jan 2023 22:53:17 +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 6204AE086F for ; Sun, 15 Jan 2023 22:53:17 +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 7F694340F7B for ; Sun, 15 Jan 2023 22:53:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0CB78828 for ; Sun, 15 Jan 2023 22:53:14 +0000 (UTC) From: "Georgy Yakovlev" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Georgy Yakovlev" Message-ID: <1673823057.f78b951d85206d86bf78320efb2433d22cf70aa0.gyakovlev@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-process/numad/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-process/numad/numad-9999.ebuild X-VCS-Directories: sys-process/numad/ X-VCS-Committer: gyakovlev X-VCS-Committer-Name: Georgy Yakovlev X-VCS-Revision: f78b951d85206d86bf78320efb2433d22cf70aa0 X-VCS-Branch: master Date: Sun, 15 Jan 2023 22:53:14 +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: cc492c9c-ac0a-4f31-9365-2de3e27f8849 X-Archives-Hash: e2f16809e46d8e23af802a9cf4ec9b6b commit: f78b951d85206d86bf78320efb2433d22cf70aa0 Author: Georgy Yakovlev gentoo org> AuthorDate: Sun Jan 15 22:49:25 2023 +0000 Commit: Georgy Yakovlev gentoo org> CommitDate: Sun Jan 15 22:50:57 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f78b951d sys-process/numad: sync live ebuild Signed-off-by: Georgy Yakovlev gentoo.org> sys-process/numad/numad-9999.ebuild | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/sys-process/numad/numad-9999.ebuild b/sys-process/numad/numad-9999.ebuild index 07607707eb3c..fffe3f4192c1 100644 --- a/sys-process/numad/numad-9999.ebuild +++ b/sys-process/numad/numad-9999.ebuild @@ -1,18 +1,20 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit linux-info systemd toolchain-funcs +inherit flag-o-matic linux-info systemd toolchain-funcs if [[ ${PV} == 9999 ]]; then EGIT_REPO_URI="https://pagure.io/numad.git" inherit git-r3 else - EGIT_COMMIT="334278ff3d774d105939743436d7378a189e8693" - SRC_URI="mirror://gentoo/numad-${PV}-${EGIT_COMMIT:0:7}.tar.bz2" + # sync with fedora (as numad upstream) and add couple of commis. + # at time of writing f37 uses 20150602 + # git archive --format=tar.gz --prefix="${P}/" -o ${P}.tar.gz ${EGIT_COMMIT} + EGIT_COMMIT="d696d6c413c5b47b4bbae79e29ea132e52095af3" + SRC_URI="https://dev.gentoo.org/~gyakovlev/distfiles/${P}.tar.gz" KEYWORDS="~amd64 -arm ~arm64 ~ppc64 ~s390 ~x86" - S="${WORKDIR}/${PN}-${EGIT_COMMIT:0:7}" fi DESCRIPTION="The NUMA daemon that manages application locality" @@ -23,13 +25,17 @@ SLOT="0" CONFIG_CHECK="~NUMA ~CPUSETS" -src_prepare() { - default - tc-export CC +src_configure() { + tc-export AR CC RANLIB + + # FIXME: https://bugs.gentoo.org/890985 + # temp workaround + filter-flags -D_FORTIFY_SOURCE=3 + append-cppflags -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 } src_compile() { - emake CFLAGS="${CFLAGS} -std=gnu99" + emake OPT_CFLAGS="${CFLAGS}" } src_install() { @@ -41,7 +47,5 @@ src_install() { insinto /etc/logrotate.d newins "${FILESDIR}"/numad.logrotated numad - insinto /etc - doins numad.conf systemd_dounit numad.service }