diff options
author | Robert Gerus <arachnist@i.am-a.cat> | 2015-05-19 01:04:53 +0200 |
---|---|---|
committer | Robert Gerus <arachnist@i.am-a.cat> | 2015-05-19 01:04:53 +0200 |
commit | bebcdd2fd7298488a6785e203e87fa34c7fab6b7 (patch) | |
tree | b8bed4aa29e0764f1eb61aec1a80bf9b1ceabb93 | |
parent | d32ef988cd12da2a527f923df42b01609f6101a4 (diff) | |
download | gentoo-overlay-bebcdd2fd7298488a6785e203e87fa34c7fab6b7.tar.gz gentoo-overlay-bebcdd2fd7298488a6785e203e87fa34c7fab6b7.tar.bz2 gentoo-overlay-bebcdd2fd7298488a6785e203e87fa34c7fab6b7.tar.xz gentoo-overlay-bebcdd2fd7298488a6785e203e87fa34c7fab6b7.zip |
Fix compilation on musl.
-rw-r--r-- | net-misc/dhcp/dhcp-4.3.2.ebuild | 1 | ||||
-rw-r--r-- | net-misc/dhcp/files/dhcp-4.3.2-fix-compilation-for-musl.patch | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/net-misc/dhcp/dhcp-4.3.2.ebuild b/net-misc/dhcp/dhcp-4.3.2.ebuild index 1f2032c..dd224f7 100644 --- a/net-misc/dhcp/dhcp-4.3.2.ebuild +++ b/net-misc/dhcp/dhcp-4.3.2.ebuild @@ -62,6 +62,7 @@ src_prepare() { epatch "${FILESDIR}"/${PN}-4.2.4-always-accept-4.patch #437108 epatch "${FILESDIR}"/${PN}-4.2.5-iproute2-path.patch #480636 epatch "${FILESDIR}"/${PN}-4.2.5-bindtodevice-inet6.patch #471142 + epatch "${FILESDIR}"/${PN}-4.3.2-fix-compilation-for-musl.patch # Brand the version with Gentoo sed -i \ diff --git a/net-misc/dhcp/files/dhcp-4.3.2-fix-compilation-for-musl.patch b/net-misc/dhcp/files/dhcp-4.3.2-fix-compilation-for-musl.patch new file mode 100644 index 0000000..4792311 --- /dev/null +++ b/net-misc/dhcp/files/dhcp-4.3.2-fix-compilation-for-musl.patch @@ -0,0 +1,11 @@ +diff -Naur dhcp-4.3.2.orig/dst/dst_internal.h dhcp-4.3.2/dst/dst_internal.h +--- dhcp-4.3.2.orig/dst/dst_internal.h 2015-02-26 20:35:43.000000000 +0100 ++++ dhcp-4.3.2/dst/dst_internal.h 2015-05-19 01:02:22.090054505 +0200 +@@ -20,6 +20,7 @@ + */ + #include <limits.h> + #include <sys/param.h> ++#include <sys/types.h> + + #ifndef PATH_MAX + # ifdef POSIX_PATH_MAX |