summaryrefslogtreecommitdiff
path: root/aports/radvd/fix-alpine-plz.patch
diff options
context:
space:
mode:
authorPÁLI Gábor János <pali.gabor@gmail.com>2023-09-24 10:02:17 +0200
committerPÁLI Gábor János <pali.gabor@gmail.com>2023-09-26 11:53:45 +0200
commitcd4ad7988e34326f1cc9552c71e522c8d31b1cc3 (patch)
treef82dc373ce18f3a94163371af2d99399ad4ce978 /aports/radvd/fix-alpine-plz.patch
parente7633ba62583438640cdaa216c0f8f00bc37ad91 (diff)
downloadfreebsd-wifibox-alpine-cd4ad7988e34326f1cc9552c71e522c8d31b1cc3.zip
radvd: import
Diffstat (limited to 'aports/radvd/fix-alpine-plz.patch')
-rw-r--r--aports/radvd/fix-alpine-plz.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/aports/radvd/fix-alpine-plz.patch b/aports/radvd/fix-alpine-plz.patch
new file mode 100644
index 0000000..cf7806e
--- /dev/null
+++ b/aports/radvd/fix-alpine-plz.patch
@@ -0,0 +1,32 @@
+From 06689f8c06f44c7e87f7ff1d814428f88375b53f Mon Sep 17 00:00:00 2001
+From: Jonathan Davies <jpds@protonmail.com>
+Date: Thu, 25 Nov 2021 15:29:18 +0000
+Subject: [PATCH] Reverts the include.h change in
+ 46883f8a1a02fe42040dd8e48aec0ed871545d4d
+
+Closes: #158
+
+Signed-off-by: Jonathan Davies <jpds@protonmail.com>
+---
+ includes.h | 5 -----
+ 1 file changed, 5 deletions(-)
+
+Patch-Origin: https://github.com/radvd-project/radvd/commit/06689f8c06f44c7e87f7ff1d814428f88375b53f
+
+diff --git a/includes.h b/includes.h
+index ef30b10..c528c86 100644
+--- a/includes.h
++++ b/includes.h
+@@ -76,12 +76,7 @@
+ #include <sys/sysctl.h>
+ #endif
+
+-#if !defined(__GLIBC__) && defined(linux)
+-#include <linux/if.h>
+-#define IF_NAMESIZE IFNAMSIZ
+-#else
+ #include <net/if.h>
+-#endif
+
+ #ifdef HAVE_NET_IF_DL_H
+ #include <net/if_dl.h>