diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-12-24 14:11:38 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-12-24 14:11:38 +0000 |
commit | de49812990871e1705b64051c35161d5e6400269 (patch) | |
tree | 5e1e8fcb0ff4579dbd22a1bfee28a6b97dc8aaeb /net-misc/radvd/files/radvd-2.14-headers.patch | |
parent | 536c3711867ec947c1738f2c4b96f22e4863322d (diff) |
gentoo resync : 24.12.2018
Diffstat (limited to 'net-misc/radvd/files/radvd-2.14-headers.patch')
-rw-r--r-- | net-misc/radvd/files/radvd-2.14-headers.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/net-misc/radvd/files/radvd-2.14-headers.patch b/net-misc/radvd/files/radvd-2.14-headers.patch new file mode 100644 index 000000000000..36f6c3b7de4e --- /dev/null +++ b/net-misc/radvd/files/radvd-2.14-headers.patch @@ -0,0 +1,26 @@ +Fix build failure: + recv.c:17: /usr/include/linux/if_arp.h:114:8: error: redefinition of 'struct +on modern linux-headers. + +Patch by Murilo Morais +Bug: https://bugs.gentoo.org/625236 +--- a/includes.h 2015-11-19 10:58:52.000000000 -0300 ++++ b/includes.h 2017-07-15 09:32:17.024877205 -0300 +@@ -86,7 +86,7 @@ + #include <net/if_types.h> + #endif + +-#if defined(HAVE_NET_IF_ARP_H) && !defined(ARPHRD_ETHER) ++#if (defined(HAVE_NET_IF_ARP_H) && !defined(ARPHRD_ETHER)) || HAVE_LINUX_IF_ARP_H + #include <net/if_arp.h> + #endif /* defined(HAVE_NET_IF_ARP_H) && !defined(ARPHRD_ETHER) */ + +@@ -101,8 +101,3 @@ + #ifdef HAVE_IFADDRS_H + #include <ifaddrs.h> + #endif +- +-#ifdef HAVE_LINUX_IF_ARP_H +-#include <linux/if_arp.h> +-#endif +- |