From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 finch.gentoo.org (Postfix) with ESMTPS id 26DBC1580E0 for ; Sun, 01 Jun 2025 18:09:45 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (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) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 0D5443430BE for ; Sun, 01 Jun 2025 18:09:45 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 09D5111027C; Sun, 01 Jun 2025 18:09:44 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 bobolink.gentoo.org (Postfix) with ESMTPS id F414711027C for ; Sun, 01 Jun 2025 18:09:43 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A65873430BE for ; Sun, 01 Jun 2025 18:09:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DF82E13CB for ; Sun, 01 Jun 2025 18:09:41 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1748801346.2676f6a58b1b1f5dce1f85dc78e083509a7b8e5f.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/files/, dev-libs/libnl/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libnl/Manifest dev-libs/libnl/files/0001-Fix-compilation-error-in-GCC-14.patch dev-libs/libnl/libnl-3.11.0.ebuild dev-libs/libnl/libnl-9999.ebuild X-VCS-Directories: dev-libs/libnl/files/ dev-libs/libnl/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 2676f6a58b1b1f5dce1f85dc78e083509a7b8e5f X-VCS-Branch: master Date: Sun, 01 Jun 2025 18:09:41 +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: 6fb0bbe2-b5d0-458b-b8a2-f3c9c2904022 X-Archives-Hash: 27ebd315a668df1cdc105f27a5f99a32 commit: 2676f6a58b1b1f5dce1f85dc78e083509a7b8e5f Author: Vladislav Mikhailikov gmail com> AuthorDate: Sun Jun 1 16:33:33 2025 +0000 Commit: Sam James gentoo org> CommitDate: Sun Jun 1 18:09:06 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2676f6a5 dev-libs/libnl: add 3.11.0 [sam: Revert to old style. Restore test restriction for now as they still fail for me with the current ebuild state. Keep Python 3.11.] Signed-off-by: Vladislav Mikhailikov gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/42116 Closes: https://github.com/gentoo/gentoo/pull/42116 Signed-off-by: Sam James gentoo.org> dev-libs/libnl/Manifest | 1 + .../0001-Fix-compilation-error-in-GCC-14.patch | 36 ++++++++++++++++++++++ .../{libnl-9999.ebuild => libnl-3.11.0.ebuild} | 6 +++- dev-libs/libnl/libnl-9999.ebuild | 2 +- 4 files changed, 43 insertions(+), 2 deletions(-) diff --git a/dev-libs/libnl/Manifest b/dev-libs/libnl/Manifest index 96ee31132b19..4f3a214de00c 100644 --- a/dev-libs/libnl/Manifest +++ b/dev-libs/libnl/Manifest @@ -1 +1,2 @@ DIST libnl-3.10.0.tar.gz 1116186 BLAKE2B 13383c4ef49be3bcf89122b24d1d5dc9834353aa7128f04f50993203add14aa7f97a4500164982ddcb82f481f7324a26efc2375036d5a23bfa62b15c4fe07473 SHA512 c95e79fba69308c63a08d0c576503b4398710ea9cd1d0097851500a7fbc5fbe87fb32ac281cf42bbfe57eab07b110055e6bc9b95d82244bba3df8a31fe562962 +DIST libnl-3.11.0.tar.gz 1124072 BLAKE2B 8e2792620f56e1e9e05e4fe1f9bece70938c82c2d1a9f4e0f9de1ce0b1a7a2bf60f31a42e6056407b383875c08c575b26df87b9bd6b421d5053e96983e193c54 SHA512 69ecec6e792fc7b9c443fff8742cf45782af5c5c4664687440942eaeb616ba7b4ed2b606e33c5d86e44e6b49a9c79a1fed4b7c77781a059e13cf6a844d94530e diff --git a/dev-libs/libnl/files/0001-Fix-compilation-error-in-GCC-14.patch b/dev-libs/libnl/files/0001-Fix-compilation-error-in-GCC-14.patch new file mode 100644 index 000000000000..e0efcabb1715 --- /dev/null +++ b/dev-libs/libnl/files/0001-Fix-compilation-error-in-GCC-14.patch @@ -0,0 +1,36 @@ +https://github.com/thom311/libnl/commit/f278e5921498fc635bd9534a3f24979bb1b2849d + +From f278e5921498fc635bd9534a3f24979bb1b2849d Mon Sep 17 00:00:00 2001 +From: Aleksander Mazur <19613255+OlekMazur@users.noreply.github.com> +Date: Sat, 29 Mar 2025 01:34:46 +0100 +Subject: [PATCH] Fix compilation error in GCC 14 + +lib/socket.c: In function '_badrandom_from_time': +lib/socket.c:70:13: error: implicit declaration of function 'time' [-Wimplicit-function-declaration] + 70 | t = time(NULL); + | ^~~~ +lib/socket.c:39:1: note: 'time' is defined in header ''; this is probably fixable by adding '#include ' + 38 | #include "nl-aux-core/nl-core.h" + +++ |+#include + 39 | + +https://github.com/thom311/libnl/pull/424 +--- + lib/socket.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/lib/socket.c b/lib/socket.c +index 4e64cbb3..c6200958 100644 +--- a/lib/socket.c ++++ b/lib/socket.c +@@ -23,6 +23,7 @@ + + #include "nl-default.h" + ++#include + #include + #include + #include +-- +2.49.0 + diff --git a/dev-libs/libnl/libnl-9999.ebuild b/dev-libs/libnl/libnl-3.11.0.ebuild similarity index 96% copy from dev-libs/libnl/libnl-9999.ebuild copy to dev-libs/libnl/libnl-3.11.0.ebuild index b30c49db70f8..dad5eaada213 100644 --- a/dev-libs/libnl/libnl-9999.ebuild +++ b/dev-libs/libnl/libnl-3.11.0.ebuild @@ -8,7 +8,7 @@ EAPI=8 DISTUTILS_EXT=1 DISTUTILS_OPTIONAL=1 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..13} ) +PYTHON_COMPAT=( python3_{11..14} ) inherit autotools distutils-r1 multilib-minimal LIBNL_P=${P/_/-} @@ -67,6 +67,10 @@ MULTILIB_WRAPPED_HEADERS=( /usr/include/libnl3/netlink/cli/utils.h ) +PATCHES=( + "${FILESDIR}"/0001-Fix-compilation-error-in-GCC-14.patch +) + src_prepare() { default diff --git a/dev-libs/libnl/libnl-9999.ebuild b/dev-libs/libnl/libnl-9999.ebuild index b30c49db70f8..fa0d4e1efc44 100644 --- a/dev-libs/libnl/libnl-9999.ebuild +++ b/dev-libs/libnl/libnl-9999.ebuild @@ -8,7 +8,7 @@ EAPI=8 DISTUTILS_EXT=1 DISTUTILS_OPTIONAL=1 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..13} ) +PYTHON_COMPAT=( python3_{11..14} ) inherit autotools distutils-r1 multilib-minimal LIBNL_P=${P/_/-}