diff options
author | 2021-12-30 09:47:42 +0000 | |
---|---|---|
committer | 2021-12-30 09:47:42 +0000 | |
commit | 0cd78596917a0e12644793e8b5ba5f3da3d1e496 (patch) | |
tree | 31d717cf6f3079e192d3d9d78fee7909dce261e1 /net-analyzer/cutter/files | |
parent | sys-fs/btrfs-progs: fix build on musl (diff) | |
download | gentoo-0cd78596917a0e12644793e8b5ba5f3da3d1e496.tar.gz gentoo-0cd78596917a0e12644793e8b5ba5f3da3d1e496.tar.bz2 gentoo-0cd78596917a0e12644793e8b5ba5f3da3d1e496.zip |
net-analyzer/cutter: fix build on musl
Closes: https://bugs.gentoo.org/715994
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-analyzer/cutter/files')
-rw-r--r-- | net-analyzer/cutter/files/cutter-1.04-musl-if-ether.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/net-analyzer/cutter/files/cutter-1.04-musl-if-ether.patch b/net-analyzer/cutter/files/cutter-1.04-musl-if-ether.patch new file mode 100644 index 000000000000..fed8bc26ee02 --- /dev/null +++ b/net-analyzer/cutter/files/cutter-1.04-musl-if-ether.patch @@ -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 */ |