mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
net-analyzer/cutter: fix build on musl
Closes: https://bugs.gentoo.org/715994 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -15,6 +15,7 @@ KEYWORDS="amd64 ~ppc x86"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.03-debian.patch
|
||||
"${FILESDIR}"/${PN}-1.04-musl-if-ether.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
|
||||
12
net-analyzer/cutter/files/cutter-1.04-musl-if-ether.patch
Normal file
12
net-analyzer/cutter/files/cutter-1.04-musl-if-ether.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
https://git.alpinelinux.org/aports/tree/main/cutter/musl-fix.patch
|
||||
https://bugs.gentoo.org/715994
|
||||
--- a/cutter.c
|
||||
+++ b/cutter.c
|
||||
@@ -47,7 +47,6 @@
|
||||
#include <linux/socket.h>
|
||||
#include <linux/ip.h>
|
||||
#include <linux/tcp.h>
|
||||
-#include <linux/if_ether.h>
|
||||
#include <fcntl.h>
|
||||
#include <netpacket/packet.h>
|
||||
#include <net/ethernet.h> /* the L2 protocols */
|
||||
Reference in New Issue
Block a user