sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[[SM-Commit] ] GIT changes to master grimoire by Ismael Luceno (0a195e91bb8279fe7914a42dd174dd541741c5c9)
- From: Ismael Luceno <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org, sm-commit AT lists.sourcemage.org
- Subject: [[SM-Commit] ] GIT changes to master grimoire by Ismael Luceno (0a195e91bb8279fe7914a42dd174dd541741c5c9)
- Date: Sun, 8 Dec 2024 16:46:45 +0000
GIT changes to master grimoire by Ismael Luceno <ismael AT sourcemage.org>:
net/iproute2/DETAILS |
2
net/iproute2/HISTORY |
6 +
net/iproute2/PRE_BUILD |
1
net/iproute2/patches/0001-Fix-implicit-function-declaration.patch |
27 +++++++
net/iproute2/patches/0001-ip-link-Include-limits.h-for-PATH_MAX.patch |
28 +++++++
net/iproute2/patches/0001-libnetlink-fix-build-with-musl-and-gcc-14.patch |
36 ++++++++++
6 files changed, 99 insertions(+), 1 deletion(-)
New commits:
commit 0a195e91bb8279fe7914a42dd174dd541741c5c9
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>
iproute2 6.12.0
diff --git a/net/iproute2/DETAILS b/net/iproute2/DETAILS
index 767e4c8..b0239fd 100755
--- a/net/iproute2/DETAILS
+++ b/net/iproute2/DETAILS
@@ -1,5 +1,5 @@
SPELL=iproute2
- VERSION=6.11.0
+ VERSION=6.12.0
SOURCE=$SPELL-$VERSION.tar.xz
SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
SOURCE_URL[0]=${KERNEL_URL}/pub/linux/utils/net/iproute2/$SOURCE
diff --git a/net/iproute2/HISTORY b/net/iproute2/HISTORY
index ca44d8d..7c9f3b8 100644
--- a/net/iproute2/HISTORY
+++ b/net/iproute2/HISTORY
@@ -1,3 +1,9 @@
+2024-12-08 Ismael Luceno <ismael AT sourcemage.org>
+ * DETAILS, patches/0001-Fix-implicit-function-declaration.patch,
+ patches/0001-ip-link-Include-limits.h-for-PATH_MAX.patch,
+ patches/0001-libnetlink-fix-build-with-musl-and-gcc-14.patch:
+ updated spell to 6.12.0
+
2024-09-16 Pavel Vinogradov <public AT sourcemage.org>
* DETAILS: version 6.11.0
diff --git a/net/iproute2/PRE_BUILD b/net/iproute2/PRE_BUILD
index 2ab7277..e826254 100755
--- a/net/iproute2/PRE_BUILD
+++ b/net/iproute2/PRE_BUILD
@@ -13,6 +13,7 @@ rm "${SOURCE_CACHE}/${SOURCE}" &&
SOURCE="${SOURCE}.xz" &&
cd "${SOURCE_DIRECTORY}" &&
+apply_patch_dir patches &&
if ! is_depends_enabled ${SPELL} $(get_spell_provider ${SPELL} LIBELF); then
sedit "s:libelf --:nolibelf --:" configure
diff --git
a/net/iproute2/patches/0001-Fix-implicit-function-declaration.patch
b/net/iproute2/patches/0001-Fix-implicit-function-declaration.patch
new file mode 100644
index 0000000..310a8b1
--- /dev/null
+++ b/net/iproute2/patches/0001-Fix-implicit-function-declaration.patch
@@ -0,0 +1,27 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?S=C3=B6ren=20Tempel?= <soeren+git AT soeren-tempel.net>
+Date: Sun, 12 May 2024 09:14:46 +0200
+Subject: [PATCH] Fix implicit function declaration
+
+Since musl 1.2.5, musl only provides the prototype for basename(3)
+in libgen.h (as mandated by POSIX) and not in strings.h.
+
+Ref: https://gitlab.alpinelinux.org/alpine/aports/-/issues/16106
+Upstream-Status: Pending
+Origin: Alpine Linux
+Signed-off-by: Ismael Luceno <ismael AT sourcemage.org>
+---
+ rdma/rdma.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+--- a/rdma/rdma.c
++++ b/rdma/rdma.c
+@@ -8,6 +8,8 @@
+ #include "version.h"
+ #include "color.h"
+
++#include <libgen.h> /* for basename(3) */
++
+ /* Global utils flags */
+ int json;
+
diff --git
a/net/iproute2/patches/0001-ip-link-Include-limits.h-for-PATH_MAX.patch
b/net/iproute2/patches/0001-ip-link-Include-limits.h-for-PATH_MAX.patch
new file mode 100644
index 0000000..d288f08
--- /dev/null
+++ b/net/iproute2/patches/0001-ip-link-Include-limits.h-for-PATH_MAX.patch
@@ -0,0 +1,28 @@
+From 39b37c776cd201456979f9a33bd19ee08be7f9ec Mon Sep 17 00:00:00 2001
+From: Ismael Luceno <ismael AT iodev.co.uk>
+Date: Sun, 8 Dec 2024 17:21:04 +0100
+Subject: [PATCH] ip link: Include limits.h for PATH_MAX
+
+Upstream-Status: Submitted
+ [https://lore.kernel.org/netdev/20241208162238.31832-2-ismael AT iodev.co.uk/]
+Origin: Source Mage
+Signed-off-by: Ismael Luceno <ismael AT sourcemage.org>
+---
+ ip/iplink.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/ip/iplink.c b/ip/iplink.c
+index aa2332fccfa3..fbaa8c2b7500 100644
+--- a/ip/iplink.c
++++ b/ip/iplink.c
+@@ -22,6 +22,7 @@
+ #include <sys/ioctl.h>
+ #include <stdbool.h>
+ #include <linux/mpls.h>
++#include <limits.h>
+
+ #include "rt_names.h"
+ #include "utils.h"
+--
+2.46.0
+
diff --git
a/net/iproute2/patches/0001-libnetlink-fix-build-with-musl-and-gcc-14.patch
b/net/iproute2/patches/0001-libnetlink-fix-build-with-musl-and-gcc-14.patch
new file mode 100644
index 0000000..a1df733
--- /dev/null
+++
b/net/iproute2/patches/0001-libnetlink-fix-build-with-musl-and-gcc-14.patch
@@ -0,0 +1,36 @@
+From 1ee98e3025a8d8738e4f5d14ec6d6fb661ff1488 Mon Sep 17 00:00:00 2001
+From: Natanael Copa <ncopa AT alpinelinux.org>
+Date: Thu, 8 Aug 2024 09:13:26 +0200
+Subject: [PATCH] libnetlink: fix build with musl and gcc 14
+
+Fixes compilation error with musl libc and gcc 14:
+
+../include/libnetlink.h: In function 'rta_getattr_be64':
+../include/libnetlink.h:280:16: error: implicit declaration of function
'htobe64' [-Wimplicit-function-declaration]
+ 280 | return htobe64(rta_getattr_u64(rta));
+ | ^~~~~~~
+
+Reference: https://man7.org/linux/man-pages/man3/endian.3.html
+Signed-off-by: Natanael Copa <ncopa AT alpinelinux.org>
+Upstream-Status: Pending
+Origin: Alpine Linux
+Signed-off-by: Ismael Luceno <ismael AT sourcemage.org>
+---
+ include/libnetlink.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/include/libnetlink.h b/include/libnetlink.h
+index 30f0c2d2..0139efa0 100644
+--- a/include/libnetlink.h
++++ b/include/libnetlink.h
+@@ -2,6 +2,7 @@
+ #ifndef __LIBNETLINK_H__
+ #define __LIBNETLINK_H__ 1
+
++#include <endian.h> /* for htobe64 */
+ #include <stdio.h>
+ #include <string.h>
+ #include <asm/types.h>
+--
+2.46.0
+
- [[SM-Commit] ] GIT changes to master grimoire by Ismael Luceno (0a195e91bb8279fe7914a42dd174dd541741c5c9), Ismael Luceno, 12/08/2024
Archive powered by MHonArc 2.6.24.