diff options
| author | Khem Raj <raj.khem@gmail.com> | 2022-08-29 16:26:37 -0700 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2022-08-30 00:14:58 -0700 |
| commit | c52b9e1a93b82ca481255dd660f29077a1b00840 (patch) | |
| tree | b1371f6a81242e66df41f2387be596e47f889229 /meta-networking/recipes-daemons/radvd/files | |
| parent | 2bbccfe1aeed9114d1146f57d7fdb0811a19f9ec (diff) | |
| download | meta-openembedded-c52b9e1a93b82ca481255dd660f29077a1b00840.tar.gz | |
radvd: Fix build on musl
Backport a patch from upstream to fix musl builds
Merged inc file into bb file, makes it easy to use devtool
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking/recipes-daemons/radvd/files')
| -rw-r--r-- | meta-networking/recipes-daemons/radvd/files/0001-Reverts-the-include.h-change-in-46883f8a1a02fe42040d.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta-networking/recipes-daemons/radvd/files/0001-Reverts-the-include.h-change-in-46883f8a1a02fe42040d.patch b/meta-networking/recipes-daemons/radvd/files/0001-Reverts-the-include.h-change-in-46883f8a1a02fe42040d.patch new file mode 100644 index 0000000000..57338d4713 --- /dev/null +++ b/meta-networking/recipes-daemons/radvd/files/0001-Reverts-the-include.h-change-in-46883f8a1a02fe42040d.patch | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | From 15f439c555289f900eb33111b010bf1266f97edb Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Jonathan Davies <jpds@protonmail.com> | ||
| 3 | Date: Thu, 25 Nov 2021 15:29:18 +0000 | ||
| 4 | Subject: [PATCH] Reverts the include.h change in | ||
| 5 | 46883f8a1a02fe42040dd8e48aec0ed871545d4d | ||
| 6 | |||
| 7 | Closes: #158 | ||
| 8 | |||
| 9 | Upstream-Status: Backport [https://github.com/radvd-project/radvd/commit/06689f8c06f44c7e87f7ff1d814428f88375b53f] | ||
| 10 | Signed-off-by: Jonathan Davies <jpds@protonmail.com> | ||
| 11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 12 | --- | ||
| 13 | includes.h | 5 ----- | ||
| 14 | 1 file changed, 5 deletions(-) | ||
| 15 | |||
| 16 | diff --git a/includes.h b/includes.h | ||
| 17 | index ef30b10..c528c86 100644 | ||
| 18 | --- a/includes.h | ||
| 19 | +++ b/includes.h | ||
| 20 | @@ -76,12 +76,7 @@ | ||
| 21 | #include <sys/sysctl.h> | ||
| 22 | #endif | ||
| 23 | |||
| 24 | -#if !defined(__GLIBC__) && defined(linux) | ||
| 25 | -#include <linux/if.h> | ||
| 26 | -#define IF_NAMESIZE IFNAMSIZ | ||
| 27 | -#else | ||
| 28 | #include <net/if.h> | ||
| 29 | -#endif | ||
| 30 | |||
| 31 | #ifdef HAVE_NET_IF_DL_H | ||
| 32 | #include <net/if_dl.h> | ||
