diff options
author | 2020-08-27 20:18:18 +0200 | |
---|---|---|
committer | 2020-08-27 20:18:32 +0200 | |
commit | a0aacafb66737245439ac8a2fa2d96b4b873f18f (patch) | |
tree | 194322e56f6340ddcc98f5043db14ff4a252553f /net-misc/etherdfs | |
parent | dev-db/redis: drop vulnerable 5.0.8 (diff) | |
download | gentoo-a0aacafb66737245439ac8a2fa2d96b4b873f18f.tar.gz gentoo-a0aacafb66737245439ac8a2fa2d96b4b873f18f.tar.bz2 gentoo-a0aacafb66737245439ac8a2fa2d96b4b873f18f.zip |
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@gentoo.org>
Diffstat (limited to 'net-misc/etherdfs')
-rw-r--r-- | net-misc/etherdfs/etherdfs-20180203-r1.ebuild | 5 | ||||
-rw-r--r-- | net-misc/etherdfs/files/etherdfs-20180203-musl.patch | 10 |
2 files changed, 14 insertions, 1 deletions
diff --git a/net-misc/etherdfs/etherdfs-20180203-r1.ebuild b/net-misc/etherdfs/etherdfs-20180203-r1.ebuild index 91c6282c51a8..0245ab3d16a3 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 000000000000..b0fdb532f20f --- /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>
|