Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 779462 Details for
Bug 846377
net-firewall/iptables-1.8.8-r2 build failure with musl: f_ether.h:115:8: error: redefinition of 'struct ethhdr'
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
possible fix
musl-move-include.patch (text/plain), 826 bytes, created by
Carlos
on 2022-05-18 22:00:40 UTC
(
hide
)
Description:
possible fix
Filename:
MIME Type:
Creator:
Carlos
Created:
2022-05-18 22:00:40 UTC
Size:
826 bytes
patch
obsolete
>diff --git a/libxtables/xtables.c b/libxtables/xtables.c >index 96fd783..4ad8779 100644 >--- a/libxtables/xtables.c >+++ b/libxtables/xtables.c >@@ -45,6 +45,7 @@ > > #include <xtables.h> > #include <limits.h> /* INT_MAX in ip_tables.h/ip6_tables.h */ >+#include <netinet/ether.h> /* In case libc defines __UAPI_DEF_ETHHDR */ > #include <linux/if_ether.h> /* ETH_ALEN */ > #include <linux/netfilter_ipv4/ip_tables.h> > #include <linux/netfilter_ipv6/ip6_tables.h> >@@ -2245,8 +2246,6 @@ void xtables_print_num(uint64_t number, unsigned int format) > printf(FMT("%4lluT ","%lluT "), (unsigned long long)number); > } > >-#include <netinet/ether.h> >- > static const unsigned char mac_type_unicast[ETH_ALEN] = {}; > static const unsigned char msk_type_unicast[ETH_ALEN] = {1}; > static const unsigned char mac_type_multicast[ETH_ALEN] = {1};
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 846377
:
779456
|
779459
| 779462