commit: 1e14d2e3873683eb7fa24047f6e7a6006a2a1b70 Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at> AuthorDate: Fri Mar 28 07:03:59 2025 +0000 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> CommitDate: Fri Mar 28 21:06:19 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e14d2e3
net-misc/olsrd: remove unused patch Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at> Closes: https://github.com/gentoo/gentoo/pull/41337 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> .../olsrd/files/olsrd-0.9.8-clang16-buildfix.patch | 53 ---------------------- 1 file changed, 53 deletions(-) diff --git a/net-misc/olsrd/files/olsrd-0.9.8-clang16-buildfix.patch b/net-misc/olsrd/files/olsrd-0.9.8-clang16-buildfix.patch deleted file mode 100644 index 0194b17362ba..000000000000 --- a/net-misc/olsrd/files/olsrd-0.9.8-clang16-buildfix.patch +++ /dev/null @@ -1,53 +0,0 @@ -https://github.com/OLSR/olsrd/pull/124 ---- a/lib/filtergw/src/olsrd_filtergw.c -+++ b/lib/filtergw/src/olsrd_filtergw.c -@@ -54,6 +54,7 @@ - #include "log.h" - #include "routing_table.h" - #include "olsr_cfg.h" -+#include "parser.h" - - #include <stdio.h> - #include <string.h> -@@ -75,11 +76,19 @@ struct originator_list { - - struct filter_group { - struct originator_list * originator_list; -- struct hna_group * next; -+ struct filter_group * next; - }; - - static struct filter_group * filter_groups = NULL; - -+/* -+ * Delcaring function prototype here, fixes build error with clang-16. -+ * Clang 16 enables -Wimplicit-function-declaration by default, hence the -+ * error. -+ * Refer: https://bugs.gentoo.org/898090 -+ */ -+int should_filter(union olsr_ip_addr * originator); -+ - /* ------------------------------------------------------------------------- - * Function : add_to_originator_list - * Description: Add a new ip to originator list -@@ -304,4 +313,4 @@ int should_filter(union olsr_ip_addr * originator) - } - } - return is_allowlist ? !found : found; --} -\ No newline at end of file -+} ---- a/src/linux/kernel_routes_nl.c -+++ b/src/linux/kernel_routes_nl.c -@@ -161,7 +161,11 @@ static void rtnetlink_read(int sock, void *data __attribute__ ((unused)), unsign - sizeof(nladdr), - &iov, - 1, -+#ifndef __GLIBC__ -+ 0, -+#else - NULL, -+#endif - 0, - 0 - };
