Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 442756 Details for
Bug 590738
net-libs/libnet-1.1.6 with sys-libs/musl - In file included from /usr/include/linux/netdevice.h:28: /usr/include/linux/if.h:71:2: error: expected identifier (IFF_UP)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
1.1.6-libc.patch
1.1.6-libc.patch (text/plain), 1.41 KB, created by
Petr Vaněk
on 2016-08-08 08:50:54 UTC
(
hide
)
Description:
1.1.6-libc.patch
Filename:
MIME Type:
Creator:
Petr Vaněk
Created:
2016-08-08 08:50:54 UTC
Size:
1.41 KB
patch
obsolete
>commit ffd7fab744a9ad2893169a8fb6244074604d5d0d >Author: rofl0r <retnyg@gmx.net> >Date: Tue Aug 12 21:51:39 2014 +0200 > > Support musl libc, remove support for glibc < 2.1 > > The workarounds for glibc < 2.1 (was released february 1999) break the > build with musl libc. > > It is very unlikely that 2.0 or earlier is still in use, and if so, > 1) that's a big security hole > 2) code wouldnt compile anyway since noone tested build in the last decade > 3) user of it wouldn't expect anyway to get bleeding edge sw built on it, > so he would just use the latest version that works for him. > > Closes #52 > >diff --git a/libnet/src/libnet_link_linux.c b/libnet/src/libnet_link_linux.c >index 054458d..3c6df3c 100644 >--- a/libnet/src/libnet_link_linux.c >+++ b/libnet/src/libnet_link_linux.c >@@ -30,26 +30,15 @@ > #include <sys/time.h> > > #include <net/if.h> >-#if (__GLIBC__) > #include <netinet/if_ether.h> > #include <net/if_arp.h> >-#else >-#include <linux/if_arp.h> >-#include <linux/if_ether.h> >-#endif > > #if (HAVE_PACKET_SOCKET) > #ifndef SOL_PACKET > #define SOL_PACKET 263 > #endif /* SOL_PACKET */ >-#if __GLIBC__ >= 2 && __GLIBC_MINOR >= 1 > #include <netpacket/packet.h> > #include <net/ethernet.h> /* the L2 protocols */ >-#else >-#include <asm/types.h> >-#include <linux/if_packet.h> >-#include <linux/if_ether.h> /* The L2 protocols */ >-#endif > #endif /* HAVE_PACKET_SOCKET */ > > #include "../include/libnet.h"
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 590738
: 442756 |
442758