summaryrefslogtreecommitdiff
path: root/pkg/iproute2/patch/0019-Include-linux-ax25.h-header.patch
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2022-02-17 22:57:03 -0800
committerMichael Forney <mforney@mforney.org>2022-02-18 02:58:00 -0800
commitd69c7d5739dd7d6cd7ae1bb2e38ce3e570a8acab (patch)
tree496b9ec6ed1888b71dff13ac0968beff20901793 /pkg/iproute2/patch/0019-Include-linux-ax25.h-header.patch
parent6cf42d4e86d90e0d1cd23fe3af2502a164f31e9a (diff)
iproute2: Update to 5.16.0
Diffstat (limited to 'pkg/iproute2/patch/0019-Include-linux-ax25.h-header.patch')
-rw-r--r--pkg/iproute2/patch/0019-Include-linux-ax25.h-header.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkg/iproute2/patch/0019-Include-linux-ax25.h-header.patch b/pkg/iproute2/patch/0019-Include-linux-ax25.h-header.patch
new file mode 100644
index 00000000..71aed48d
--- /dev/null
+++ b/pkg/iproute2/patch/0019-Include-linux-ax25.h-header.patch
@@ -0,0 +1,26 @@
+From 81bd67e0e190b01266d12e98f4feb41766b7fcfb Mon Sep 17 00:00:00 2001
+From: Michael Forney <mforney@mforney.org>
+Date: Thu, 17 Feb 2022 23:07:55 -0800
+Subject: [PATCH] Include linux ax25.h header
+
+Fixes the build with musl libc.
+---
+ lib/ax25_ntop.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/lib/ax25_ntop.c b/lib/ax25_ntop.c
+index cfd0e04b..3a72a43e 100644
+--- a/lib/ax25_ntop.c
++++ b/lib/ax25_ntop.c
+@@ -2,7 +2,7 @@
+
+ #include <errno.h>
+ #include <sys/socket.h>
+-#include <netax25/ax25.h>
++#include <linux/ax25.h>
+
+ #include "utils.h"
+
+--
+2.34.1
+