commit: 11578b77f3faeac7d56bd867da905fe7e18305ef Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at> AuthorDate: Fri Feb 28 07:01:22 2025 +0000 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> CommitDate: Sat Mar 1 23:27:33 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11578b77
sys-apps/iproute2: remove unused patch Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at> Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> .../iproute2/files/iproute2-6.6.0-musl-c99.patch | 75 ---------------------- 1 file changed, 75 deletions(-) diff --git a/sys-apps/iproute2/files/iproute2-6.6.0-musl-c99.patch b/sys-apps/iproute2/files/iproute2-6.6.0-musl-c99.patch deleted file mode 100644 index c277bd6d1128..000000000000 --- a/sys-apps/iproute2/files/iproute2-6.6.0-musl-c99.patch +++ /dev/null @@ -1,75 +0,0 @@ -From 12416003e4c691afc732d26f0a07c3890c24b396 Mon Sep 17 00:00:00 2001 -From: Gabi Falk <[email protected]> -Date: Fri, 10 May 2024 14:36:12 +0000 -Subject: [PATCH] bridge/vlan.c: bridge/vlan.c: fix build with gcc 14 on musl - systems - -On glibc based systems the definition of 'struct timeval' is pulled in -with inclusion of <stdlib.h> header, but on musl based systems it -doesn't work this way. Missing definition triggers an -incompatible-pointer-types error with gcc 14 (warning on previous -versions of gcc): - -../include/json_print.h:80:30: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration - 80 | _PRINT_FUNC(tv, const struct timeval *) - | ^~~~~~~ -../include/json_print.h:50:37: note: in definition of macro '_PRINT_FUNC' - 50 | type value); \ - | ^~~~ -../include/json_print.h:80:30: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration - 80 | _PRINT_FUNC(tv, const struct timeval *) - | ^~~~~~~ -../include/json_print.h:55:45: note: in definition of macro '_PRINT_FUNC' - 55 | type value) \ - | ^~~~ -../include/json_print.h: In function 'print_tv': -../include/json_print.h:58:48: error: passing argument 5 of 'print_color_tv' from incompatible pointer type [-Wincompatible-pointer-types] - 58 | value); \ - | ^~~~~ - | | - | const struct timeval * - -Link: https://lore.kernel.org/netdev/[email protected]/T/#u -Signed-off-by: Gabi Falk <[email protected]> ---- - bridge/vlan.c | 1 + - bridge/vni.c | 1 + - vdpa/vdpa.c | 1 + - 3 files changed, 3 insertions(+) - -diff --git a/bridge/vlan.c b/bridge/vlan.c -index 5352eb24..0a7e6c45 100644 ---- a/bridge/vlan.c -+++ b/bridge/vlan.c -@@ -4,6 +4,7 @@ - #include <unistd.h> - #include <fcntl.h> - #include <sys/socket.h> -+#include <sys/time.h> - #include <net/if.h> - #include <netinet/in.h> - #include <linux/if_bridge.h> -diff --git a/bridge/vni.c b/bridge/vni.c -index a7abe6de..e1f981fc 100644 ---- a/bridge/vni.c -+++ b/bridge/vni.c -@@ -10,6 +10,7 @@ - #include <string.h> - #include <fcntl.h> - #include <sys/socket.h> -+#include <sys/time.h> - #include <net/if.h> - #include <netinet/in.h> - #include <linux/if_link.h> -diff --git a/vdpa/vdpa.c b/vdpa/vdpa.c -index 6e4a9c11..43f87824 100644 ---- a/vdpa/vdpa.c -+++ b/vdpa/vdpa.c -@@ -3,6 +3,7 @@ - #include <stdio.h> - #include <getopt.h> - #include <errno.h> -+#include <sys/time.h> - #include <linux/genetlink.h> - #include <linux/if_ether.h> - #include <linux/vdpa.h>
