diff options
-rw-r--r-- | app-misc/mx5000tools/files/mx5000tools-0.1.2-musl.patch | 10 | ||||
-rw-r--r-- | app-misc/mx5000tools/mx5000tools-0.1.2-r1.ebuild | 7 |
2 files changed, 15 insertions, 2 deletions
diff --git a/app-misc/mx5000tools/files/mx5000tools-0.1.2-musl.patch b/app-misc/mx5000tools/files/mx5000tools-0.1.2-musl.patch new file mode 100644 index 000000000000..8ed94abf1eb1 --- /dev/null +++ b/app-misc/mx5000tools/files/mx5000tools-0.1.2-musl.patch @@ -0,0 +1,10 @@ +--- a/libmx5000/mx5000.c ++++ b/libmx5000/mx5000.c +@@ -29,6 +29,7 @@ + + #include <asm/types.h> + #include <linux/hiddev.h> ++#include <linux/limits.h> + + #include "libmx5000/mx5000.h" + diff --git a/app-misc/mx5000tools/mx5000tools-0.1.2-r1.ebuild b/app-misc/mx5000tools/mx5000tools-0.1.2-r1.ebuild index dd66bb738bec..798113cdf83b 100644 --- a/app-misc/mx5000tools/mx5000tools-0.1.2-r1.ebuild +++ b/app-misc/mx5000tools/mx5000tools-0.1.2-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -20,7 +20,10 @@ RDEPEND=" DEPEND="${RDEPEND}" BDEPEND="virtual/pkgconfig" -PATCHES=( "${FILESDIR}/${P}-find-netpbm-header.patch" ) +PATCHES=( + "${FILESDIR}/${P}-find-netpbm-header.patch" + "${FILESDIR}/${P}-musl.patch" +) src_prepare() { default |