commit 3b59eca1ae2781863f5ba0b7f6924c66c111ce47
parent cfff24a693b62f5db0c27bdbc128b0aced09b18b
Author: parazyd <parazyd@dyne.org>
Date: Wed, 30 Nov 2016 23:49:04 +0100
net-analyzer/macchanger: Fix musl build.
Diffstat:
2 files changed, 16 insertions(+), 2 deletions(-)
diff --git a/net-analyzer/macchanger/files/0002-include-typesh.patch b/net-analyzer/macchanger/files/0002-include-typesh.patch
@@ -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>
+
diff --git a/net-analyzer/macchanger/macchanger-1.7.0-r99.ebuild b/net-analyzer/macchanger/macchanger-1.7.0-r99.ebuild
@@ -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
@@ -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 \