commit: a0aacafb66737245439ac8a2fa2d96b4b873f18f Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> AuthorDate: Thu Aug 27 18:18:18 2020 +0000 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> CommitDate: Thu Aug 27 18:18:32 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0aacafb
net-misc/etherdfs: fix compilation with musl Closes: https://bugs.gentoo.org/715454 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> net-misc/etherdfs/etherdfs-20180203-r1.ebuild | 5 ++++- net-misc/etherdfs/files/etherdfs-20180203-musl.patch | 10 ++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/net-misc/etherdfs/etherdfs-20180203-r1.ebuild b/net-misc/etherdfs/etherdfs-20180203-r1.ebuild index 91c6282c51a..0245ab3d16a 100644 --- a/net-misc/etherdfs/etherdfs-20180203-r1.ebuild +++ b/net-misc/etherdfs/etherdfs-20180203-r1.ebuild @@ -25,7 +25,10 @@ BDEPEND="tsr? ( app-arch/unzip )" S="${WORKDIR}/${MY_P}" -PATCHES=( "${FILESDIR}/${P}-makefile.patch" ) +PATCHES=( + "${FILESDIR}/${P}-makefile.patch" + "${FILESDIR}/${P}-musl.patch" +) DOCS=( "ethersrv-linux.txt" "history.txt" ) diff --git a/net-misc/etherdfs/files/etherdfs-20180203-musl.patch b/net-misc/etherdfs/files/etherdfs-20180203-musl.patch new file mode 100644 index 00000000000..b0fdb532f20 --- /dev/null +++ b/net-misc/etherdfs/files/etherdfs-20180203-musl.patch @@ -0,0 +1,10 @@ +--- a/ethersrv-linux.c ++++ b/ethersrv-linux.c +@@ -31,7 +31,6 @@ + #include <arpa/inet.h> /* htons() */ + #include <errno.h> + #include <endian.h> /* le16toh(), le32toh() */ +-#include <linux/if_ether.h> + #include <linux/if_packet.h> + #include <limits.h> /* PATH_MAX and such */ + #include <net/ethernet.h>
