commit: 17449cd6228705f4c7d3bcab577f168e159ab9b9 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Wed Feb 4 18:30:23 2026 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed Feb 4 18:39:32 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17449cd6
sys-process/numactl: drop 2.0.16-r1, 2.0.18 Signed-off-by: Sam James <sam <AT> gentoo.org> sys-process/numactl/Manifest | 2 - .../files/numactl-2.0.14-numademo-cflags.patch | 15 ----- ....16-configure-check-for-largefile-support.patch | 27 --------- ...0.16-replace-stat64-with-normal-functions.patch | 65 -------------------- sys-process/numactl/numactl-2.0.16-r1.ebuild | 69 ---------------------- sys-process/numactl/numactl-2.0.18.ebuild | 67 --------------------- 6 files changed, 245 deletions(-) diff --git a/sys-process/numactl/Manifest b/sys-process/numactl/Manifest index d89ecf2e36e6..59ab2caa28d4 100644 --- a/sys-process/numactl/Manifest +++ b/sys-process/numactl/Manifest @@ -1,3 +1 @@ -DIST numactl-2.0.16.tar.gz 450003 BLAKE2B 3ac38129b914d62958182020f57969878f2817bd3155c6b5362a66f96deb2058268fa8004729a2d3333642c8c0bee73a451030a287958fa145247b7685e426aa SHA512 6e17724567c363a08994fe7f5569b6ec62bd1ae608244945fddcb2d6a212b08140340f0d862595ba4016fcba95193e851cb286798f685d314b4c72687af6d879 -DIST numactl-2.0.18.tar.gz 447393 BLAKE2B c89d0492e7b3a3e7c569c0081ecf914f2a145d28de1fa0edf26ab23c5e9e1605e4e8f127fd28498436dd2c36ebf9a59e1feba2b525b2b3a00e2aab7be5eb0a54 SHA512 17abe7a3744065edb5ec1e27135873629031c509313809ca99e0d9254f7a5cb00cce5b32173e811e9b9d7cb407aabdcbe3c6be6e3b094ad3e7d696a154b7f1ec DIST numactl-2.0.19.tar.gz 450856 BLAKE2B 75825bcc5b6beb3a8772dcfab6678b16a35d2ed797afbbe9cc948878c86c3417347ce156e3754711457c2194a018dabc6d47dc6399ec881a3ade16f7cf498f12 SHA512 484b7001e7b4efa32784353e937857e83cf62abbfab92a51cc8573cb49104a1084ffcefd8c5fb66cd389d08eaf201568bbca800cab7a48c42fcdf4397d4d10dc diff --git a/sys-process/numactl/files/numactl-2.0.14-numademo-cflags.patch b/sys-process/numactl/files/numactl-2.0.14-numademo-cflags.patch deleted file mode 100644 index de7ad2894ddc..000000000000 --- a/sys-process/numactl/files/numactl-2.0.14-numademo-cflags.patch +++ /dev/null @@ -1,15 +0,0 @@ -https://bugs.gentoo.org/540856 - -respect user CFLAGS - ---- numactl-2.0.14/Makefile.am -+++ numactl-2.0.14/Makefile.am -@@ -24,7 +24,7 @@ - - numademo_SOURCES = numademo.c stream_lib.c stream_lib.h mt.c mt.h clearcache.c clearcache.h - numademo_CPPFLAGS = $(AM_CPPFLAGS) -DHAVE_STREAM_LIB -DHAVE_MT -DHAVE_CLEAR_CACHE --numademo_CFLAGS = $(AM_CFLAGS) -O3 -ffast-math -funroll-loops -+numademo_CFLAGS = $(AM_CFLAGS) -ffast-math -funroll-loops - if HAVE_TREE_VECTORIZE - numademo_CFLAGS += -ftree-vectorize - endif diff --git a/sys-process/numactl/files/numactl-2.0.16-configure-check-for-largefile-support.patch b/sys-process/numactl/files/numactl-2.0.16-configure-check-for-largefile-support.patch deleted file mode 100644 index f22ba23999c1..000000000000 --- a/sys-process/numactl/files/numactl-2.0.16-configure-check-for-largefile-support.patch +++ /dev/null @@ -1,27 +0,0 @@ -https://github.com/numactl/numactl/commit/246b0e695644ad614f6c324505d7cfa6e74f1fc1.patch -From: Khem Raj <[email protected]> -Date: Thu, 15 Dec 2022 12:10:37 -0800 -Subject: [PATCH] configure: Check for largefile support - -This helps in using 64bit versions of off_t related functions - -Signed-off-by: Khem Raj <[email protected]> ---- - configure.ac | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/configure.ac b/configure.ac -index ebf9917..6139132 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -14,6 +14,9 @@ LT_INIT - - AC_PROG_CC - -+# Check for enabling LFS support -+AC_SYS_LARGEFILE -+ - # Override CFLAGS so that we can specify custom CFLAGS for numademo. - AX_AM_OVERRIDE_VAR([CFLAGS]) - - diff --git a/sys-process/numactl/files/numactl-2.0.16-replace-stat64-with-normal-functions.patch b/sys-process/numactl/files/numactl-2.0.16-replace-stat64-with-normal-functions.patch deleted file mode 100644 index 9b08a55c2e77..000000000000 --- a/sys-process/numactl/files/numactl-2.0.16-replace-stat64-with-normal-functions.patch +++ /dev/null @@ -1,65 +0,0 @@ -https://github.com/numactl/numactl/commit/851bbd5b963a7a5d95b8fe3102cf05972dc72655.patch -From: Khem Raj <[email protected]> -Date: Thu, 15 Dec 2022 12:11:13 -0800 -Subject: [PATCH] shm.c: Replace stat64/fstat64/ftruncate64mmap64 with normal - functions - -These functions were needed when _FILE_OFFSET_BITS was not 64, using -AC_SYS_LARGEFILE will detect it correctly and make the normal variants -of these functions behave same as their *64 counterparts. - -Signed-off-by: Khem Raj <[email protected]> ---- - shm.c | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -diff --git a/shm.c b/shm.c -index 20537d9..5d0d1ab 100644 ---- a/shm.c -+++ b/shm.c -@@ -24,8 +24,8 @@ - #include <sys/mman.h> - #include <sys/ipc.h> - #include <sys/shm.h> --#include <sys/fcntl.h> - #include <sys/stat.h> -+#include <fcntl.h> - #include <stdarg.h> - #include <errno.h> - #include <unistd.h> -@@ -135,7 +135,7 @@ void attach_sysvshm(char *name, char *opt) - /* Attach a shared memory file. */ - void attach_shared(char *name, char *opt) - { -- struct stat64 st; -+ struct stat st; - - shmfd = open(name, O_RDWR); - if (shmfd < 0) { -@@ -146,14 +146,14 @@ void attach_shared(char *name, char *opt) - if (shmfd < 0) - nerror("cannot create file %s", name); - } -- if (fstat64(shmfd, &st) < 0) -+ if (fstat(shmfd, &st) < 0) - err("shm stat"); - /* the file size must be larger than mmap shmlen + shmoffset, otherwise SIGBUS - * will be caused when we access memory, because mmaped memory is no longer in - * the range of the file laster. - */ - if ((shmlen + shmoffset) > st.st_size) { -- if (ftruncate64(shmfd, shmlen + shmoffset) < 0) { -+ if (ftruncate(shmfd, shmlen + shmoffset) < 0) { - /* XXX: we could do it by hand, but it would it - would be impossible to apply policy then. - need to fix that in the kernel. */ -@@ -168,7 +168,7 @@ void attach_shared(char *name, char *opt) - - /* RED-PEN For shmlen > address space may need to map in pieces. - Left for some poor 32bit soul. */ -- shmptr = mmap64(NULL, shmlen, PROT_READ | PROT_WRITE, MAP_SHARED, shmfd, shmoffset); -+ shmptr = mmap(NULL, shmlen, PROT_READ | PROT_WRITE, MAP_SHARED, shmfd, shmoffset); - if (shmptr == (char*)-1) - err("shm mmap"); - } - diff --git a/sys-process/numactl/numactl-2.0.16-r1.ebuild b/sys-process/numactl/numactl-2.0.16-r1.ebuild deleted file mode 100644 index f81256028df4..000000000000 --- a/sys-process/numactl/numactl-2.0.16-r1.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools multilib-minimal - -DESCRIPTION="Utilities and libraries for NUMA systems" -HOMEPAGE="https://github.com/numactl/numactl" -if [[ ${PV} == 9999 ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/numactl/numactl.git" -else - SRC_URI="https://github.com/numactl/numactl/releases/download/v${PV}/${P}.tar.gz" - KEYWORDS="~alpha amd64 arm64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86" -fi - -LICENSE="GPL-2" -SLOT="0" -IUSE="static-libs" - -PATCHES=( - "${FILESDIR}"/${PN}-2.0.14-numademo-cflags.patch # bug #540856 - "${FILESDIR}"/${PN}-2.0.16-replace-stat64-with-normal-functions.patch # bug #906539 - "${FILESDIR}"/${PN}-2.0.16-configure-check-for-largefile-support.patch # bug #906539 -) - -src_prepare() { - default - - eautoreconf - - # We need to copy the sources or else tests will fail - multilib_copy_sources -} - -multilib_src_configure() { - ECONF_SOURCE="${S}" econf $(use_enable static-libs static) -} - -multilib_src_compile() { - multilib_is_native_abi && default || emake libnuma.la -} - -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_install() { - emake DESTDIR="${D}" \ - install$(multilib_is_native_abi || echo "-libLTLIBRARIES install-includeHEADERS") - find "${ED}"/usr/ -type f -name libnuma.la -delete || die -} - -multilib_src_install_all() { - local DOCS=( README.md ) - einstalldocs - - # Delete man pages provided by the man-pages package, bug #238805 - rm -r "${ED}"/usr/share/man/man[25] || die -} diff --git a/sys-process/numactl/numactl-2.0.18.ebuild b/sys-process/numactl/numactl-2.0.18.ebuild deleted file mode 100644 index 89b356501607..000000000000 --- a/sys-process/numactl/numactl-2.0.18.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools multilib-minimal - -DESCRIPTION="Utilities and libraries for NUMA systems" -HOMEPAGE="https://github.com/numactl/numactl" -if [[ ${PV} == 9999 ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/numactl/numactl.git" -else - SRC_URI="https://github.com/numactl/numactl/releases/download/v${PV}/${P}.tar.gz" - KEYWORDS="~alpha amd64 arm64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86" -fi - -LICENSE="GPL-2" -SLOT="0" -IUSE="static-libs" - -PATCHES=( - "${FILESDIR}"/${PN}-2.0.18-numademo-cflags.patch # bug #540856 -) - -src_prepare() { - default - - eautoreconf - - # We need to copy the sources or else tests will fail - multilib_copy_sources -} - -multilib_src_configure() { - ECONF_SOURCE="${S}" econf $(use_enable static-libs static) -} - -multilib_src_compile() { - multilib_is_native_abi && default || emake libnuma.la -} - -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_install() { - emake DESTDIR="${D}" \ - install$(multilib_is_native_abi || echo "-libLTLIBRARIES install-includeHEADERS") - find "${ED}"/usr/ -type f -name libnuma.la -delete || die -} - -multilib_src_install_all() { - local DOCS=( README.md ) - einstalldocs - - # Delete man pages provided by the man-pages package, bug #238805 - rm -r "${ED}"/usr/share/man/man[25] || die -}
