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 D8F2A138334 for ; Thu, 5 Sep 2019 09:23:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E4E14E07B3; Thu, 5 Sep 2019 09:23:41 +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 B3DBCE07B3 for ; Thu, 5 Sep 2019 09:23:41 +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 1171C34AC6E for ; Thu, 5 Sep 2019 09:23:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 82DDE76A for ; Thu, 5 Sep 2019 09:23:38 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1567675412.70f1db8ce052fb213d978f3b903c701cf659fb36.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-process/numactl/, sys-process/numactl/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-process/numactl/Manifest sys-process/numactl/files/numactl-2.0.11-sysmacros.patch sys-process/numactl/files/numactl-2.0.8-cpuid-pic.patch sys-process/numactl/numactl-2.0.11.ebuild X-VCS-Directories: sys-process/numactl/files/ sys-process/numactl/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: 70f1db8ce052fb213d978f3b903c701cf659fb36 X-VCS-Branch: master Date: Thu, 5 Sep 2019 09:23:38 +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: df4ee495-63f8-4484-b979-c1d5a399ac3a X-Archives-Hash: 82e67ce94b551d4ac9deddbc6c77b281 commit: 70f1db8ce052fb213d978f3b903c701cf659fb36 Author: Lars Wendler gentoo org> AuthorDate: Thu Sep 5 09:23:32 2019 +0000 Commit: Lars Wendler gentoo org> CommitDate: Thu Sep 5 09:23:32 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70f1db8c sys-process/numactl: Removed old Package-Manager: Portage-2.3.75, Repoman-2.3.17 Signed-off-by: Lars Wendler gentoo.org> sys-process/numactl/Manifest | 1 - .../numactl/files/numactl-2.0.11-sysmacros.patch | 41 ---------------- .../numactl/files/numactl-2.0.8-cpuid-pic.patch | 17 ------- sys-process/numactl/numactl-2.0.11.ebuild | 54 ---------------------- 4 files changed, 113 deletions(-) diff --git a/sys-process/numactl/Manifest b/sys-process/numactl/Manifest index 879976de1f4..318046859f0 100644 --- a/sys-process/numactl/Manifest +++ b/sys-process/numactl/Manifest @@ -1,3 +1,2 @@ -DIST numactl-2.0.11.tar.gz 408175 BLAKE2B 0767d555d5254e780ef50bd66215e84208e88fb37422fd86443e53ee52faef4242ff21e6028bdb92c4e1fa7815cdb23e87cd084763539dc1d560097f43bd563f SHA512 1969d7ee0ff3de0d6f1fa42ec089a17cdb3f92cb35d453b8f8b2eec49724c43787ecbd213357013a8f2500a260b0df9844d515815ca3a0376314a0eed050a0d4 DIST numactl-2.0.12.tar.gz 423020 BLAKE2B 39d33612591df805715c51280bf34b8328ba6fc49bdaf9dd3bd67e076f9d319c9622ef72766c12e319f4be27ee9ec7f5ecb054a6e8c7c3cf568a69aea624d511 SHA512 316b10f50e6eee4cee9cf191f19381ec4a61980354eec3f9fe43fef21465bee28a82adeb9c235d4877e82950ccd14c9473b79fd1e2f5a7f598ec2fac230780ff DIST numactl-2.0.13.tar.gz 438096 BLAKE2B f615fafdb366930c6cdee1e4ef3d1e1d5e21f8f1c09aa904c0ebfa56972a99144991c6907127ef35794ca19d711e41b54488c5bfaeca8a0149ab9697d8c1ef75 SHA512 f7b747eb8f3ded9f3661cb0fc7b65b5ed490677f881f8fe6a000baf714747515853b4e5c8781b014241180bf16e9f0bfdf2c6f758725e34b4938696ba496b72a diff --git a/sys-process/numactl/files/numactl-2.0.11-sysmacros.patch b/sys-process/numactl/files/numactl-2.0.11-sysmacros.patch deleted file mode 100644 index 3f953675739..00000000000 --- a/sys-process/numactl/files/numactl-2.0.11-sysmacros.patch +++ /dev/null @@ -1,41 +0,0 @@ -https://bugs.gentoo.org/580098 - -From c1644f92e340d797e490c41a9ef9961125d202b9 Mon Sep 17 00:00:00 2001 -From: Mike Frysinger -Date: Mon, 18 Apr 2016 18:49:51 -0400 -Subject: [PATCH] include sys/sysmacros.h for major/minor - -These functions are not part of any official spec, and glibc has always -kept them in sys/sysmacros.h. As glibc moves to conform to POSIX, and -more alternative C libraries come up, we need to include this header -explicitly to get the prototypes. Otherwise we fail to build like: - -affinity.c: In function 'affinity_file': -affinity.c:177:7: warning: implicit declaration of function 'major' [-Wimplicit-function-declaration] - if (major(d) != maj || minor(d) != min) - ^ -affinity.c:177:26: warning: implicit declaration of function 'minor' [-Wimplicit-function-declaration] - if (major(d) != maj || minor(d) != min) - ^ -./.libs/libnuma.so: undefined reference to 'minor' -./.libs/libnuma.so: undefined reference to 'major' -collect2: error: ld returned 1 exit status ---- - affinity.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/affinity.c b/affinity.c -index 9fbd6af..984291c 100644 ---- a/affinity.c -+++ b/affinity.c -@@ -40,6 +40,7 @@ - #include - #include - #include -+#include - #include - #include - #include --- -2.7.4 - diff --git a/sys-process/numactl/files/numactl-2.0.8-cpuid-pic.patch b/sys-process/numactl/files/numactl-2.0.8-cpuid-pic.patch deleted file mode 100644 index 02e84b72577..00000000000 --- a/sys-process/numactl/files/numactl-2.0.8-cpuid-pic.patch +++ /dev/null @@ -1,17 +0,0 @@ -make the code work on x86/PIC. this code is only used in the demo, -and the overhead of always running this is system noise, so don't -bother bracketing with __i386__/__PIC__ defines. - -http://bugs.gentoo.org/456238 - ---- a/clearcache.c -+++ b/clearcache.c -@@ -57,7 +57,7 @@ void clearcache(unsigned char *mem, unsigned size) - #if defined(__i386__) || defined(__x86_64__) - unsigned i, cl, eax, feat; - /* get clflush unit and feature */ -- asm("cpuid" : "=a" (eax), "=b" (cl), "=d" (feat) : "0" (1) : "cx"); -+ asm("xchg %%ebx, %%esi; cpuid; xchg %%esi, %%ebx;" : "=a" (eax), "=S" (cl), "=d" (feat) : "0" (1) : "cx"); - if (!(feat & (1 << 19))) - fallback_clearcache(); - cl = ((cl >> 8) & 0xff) * 8; diff --git a/sys-process/numactl/numactl-2.0.11.ebuild b/sys-process/numactl/numactl-2.0.11.ebuild deleted file mode 100644 index 513866b7c61..00000000000 --- a/sys-process/numactl/numactl-2.0.11.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit autotools eutils toolchain-funcs multilib-minimal - -DESCRIPTION="Utilities and libraries for NUMA systems" -HOMEPAGE="http://oss.sgi.com/projects/libnuma/" -SRC_URI="ftp://oss.sgi.com/www/projects/libnuma/download/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -# ARM lacks the __NR_migrate_pages syscall. -KEYWORDS="amd64 -arm ia64 ~mips ppc ppc64 x86 ~amd64-linux" -IUSE="" - -ECONF_SOURCE=${S} - -src_prepare() { - epatch "${FILESDIR}"/${PN}-2.0.8-cpuid-pic.patch #456238 - epatch "${FILESDIR}"/${PN}-2.0.10-numademo-cflags.patch #540856 - epatch "${FILESDIR}"/${PN}-2.0.11-sysmacros.patch #580098 - eautoreconf - # We need to copy the sources or else tests will fail - multilib_copy_sources -} - -multilib_src_test() { - if multilib_is_native_abi ; then - if [ -d /sys/devices/system/node ]; then - einfo "The only generically safe test is regress2." - einfo "The other test cases require 2 NUMA nodes." - emake regress2 - else - ewarn "You do not have baseline NUMA support in your kernel, skipping tests." - fi - fi -} - -multilib_src_compile() { - multilib_is_native_abi && default || emake libnuma.la -} - -multilib_src_install() { - emake DESTDIR="${D}" install$(multilib_is_native_abi || echo "-libLTLIBRARIES install-includeHEADERS") -} - -multilib_src_install_all() { - DOCS=( README TODO CHANGES DESIGN ) - einstalldocs - # delete man pages provided by the man-pages package #238805 - rm -r "${ED}"/usr/share/man/man[25] || die -}