tnet-analyzer/macchanger: Fix musl build. - parlay - yet another gentoo overlay HTML git clone https://git.parazyd.org/parlay DIR Log DIR Files DIR Refs DIR README --- DIR commit 3b59eca1ae2781863f5ba0b7f6924c66c111ce47 DIR parent cfff24a693b62f5db0c27bdbc128b0aced09b18b HTML Author: parazyd <parazyd@dyne.org> Date: Wed, 30 Nov 2016 23:49:04 +0100 net-analyzer/macchanger: Fix musl build. Diffstat: A net-analyzer/macchanger/files/0002… | 11 +++++++++++ M net-analyzer/macchanger/macchanger… | 7 +++++-- 2 files changed, 16 insertions(+), 2 deletions(-) --- DIR diff --git a/net-analyzer/macchanger/files/0002-include-typesh.patch b/net-analyzer/macchanger/files/0002-include-typesh.patch t@@ -0,0 +1,11 @@ +--- src/netinfo.c.orig 2016-11-30 23:47:07.888493988 +0100 ++++ src/netinfo.c 2016-11-30 23:47:33.855643411 +0100 +@@ -28,6 +28,7 @@ + #include <string.h> + #include <unistd.h> + #include <sys/ioctl.h> ++#include <sys/types.h> + + #include <linux/ethtool.h> + #include <linux/sockios.h> + DIR diff --git a/net-analyzer/macchanger/macchanger-1.7.0-r99.ebuild b/net-analyzer/macchanger/macchanger-1.7.0-r99.ebuild t@@ -2,7 +2,9 @@ # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI=5 +EAPI=6 + +inherit eutils DESCRIPTION="Utility for viewing/manipulating the MAC address of network interfaces" OUI_DATE="20091029" # Generated with tools/IEEE_OUI.py in the source t@@ -14,7 +16,8 @@ KEYWORDS="amd64 arm ppc sparc x86" SLOT="0" src_configure() { - epatch "${FILESDIR}"/0001-fix-musl-build.patch + #epatch "${FILESDIR}"/0001-fix-musl-build.patch + epatch "${FILESDIR}"/0002-include-typesh.patch # Shared data is installed below /lib, see Bug #57046 econf \