diff options
author | Conrad Kostecki <conikost@gentoo.org> | 2024-01-02 19:12:43 +0100 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2024-01-02 19:13:09 +0100 |
commit | d1e0ed53ba619b4c47644a63693b00955e0ab522 (patch) | |
tree | ccac597225615207d849db3a6fff482dd82a9700 /app-misc | |
parent | app-crypt/johntheripper-jumbo: add 1.9.0_p20240102 (diff) | |
download | gentoo-d1e0ed53ba619b4c47644a63693b00955e0ab522.tar.gz gentoo-d1e0ed53ba619b4c47644a63693b00955e0ab522.tar.bz2 gentoo-d1e0ed53ba619b4c47644a63693b00955e0ab522.zip |
app-misc/mx5000tools: fix musl
Closes: https://bugs.gentoo.org/906195
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/mx5000tools/files/mx5000tools-0.1.2_p20190613-musl.patch | 20 | ||||
-rw-r--r-- | app-misc/mx5000tools/mx5000tools-0.1.2_p20190613.ebuild | 4 |
2 files changed, 23 insertions, 1 deletions
diff --git a/app-misc/mx5000tools/files/mx5000tools-0.1.2_p20190613-musl.patch b/app-misc/mx5000tools/files/mx5000tools-0.1.2_p20190613-musl.patch new file mode 100644 index 000000000000..e3442ed54435 --- /dev/null +++ b/app-misc/mx5000tools/files/mx5000tools-0.1.2_p20190613-musl.patch @@ -0,0 +1,20 @@ +--- a/libmx5000/mx5000screencontent.c ++++ b/libmx5000/mx5000screencontent.c +@@ -27,6 +27,7 @@ + + #include <asm/types.h> + #include <linux/hiddev.h> ++#include <linux/limits.h> + + #include "libmx5000/mx5000screencontent.h" + #include "libmx5000/mx5000.h" +--- a/libmx5000/hidraw_lib.c ++++ b/libmx5000/hidraw_lib.c +@@ -8,6 +8,7 @@ + #include <dirent.h> + #include <errno.h> + #include <fcntl.h> ++#include <linux/limits.h> + #include <stdlib.h> + #include <stdio.h> + #include <string.h> diff --git a/app-misc/mx5000tools/mx5000tools-0.1.2_p20190613.ebuild b/app-misc/mx5000tools/mx5000tools-0.1.2_p20190613.ebuild index cca3815e7eaa..cc67f3251ff3 100644 --- a/app-misc/mx5000tools/mx5000tools-0.1.2_p20190613.ebuild +++ b/app-misc/mx5000tools/mx5000tools-0.1.2_p20190613.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -22,6 +22,8 @@ RDEPEND=" DEPEND="${RDEPEND}" BDEPEND="virtual/pkgconfig" +PATCHES=( "${FILESDIR}/${PN}-0.1.2_p20190613-musl.patch" ) + src_prepare() { default |