summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2023-04-23 02:32:51 +0200
committerConrad Kostecki <conikost@gentoo.org>2023-04-23 02:32:51 +0200
commitc6b2c6e6028a437af8f25b8ba8ebdcbbf577f116 (patch)
treec7ae5e5fb5a15aa8153eea573252b8d8d5304537 /app-misc/mx5000tools/files
parentnet-misc/ethflop: update systemd unit (diff)
downloadgentoo-c6b2c6e6028a437af8f25b8ba8ebdcbbf577f116.tar.gz
gentoo-c6b2c6e6028a437af8f25b8ba8ebdcbbf577f116.tar.bz2
gentoo-c6b2c6e6028a437af8f25b8ba8ebdcbbf577f116.zip
app-misc/mx5000tools: fix compilation with musl
Closes: https://bugs.gentoo.org/894556 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'app-misc/mx5000tools/files')
-rw-r--r--app-misc/mx5000tools/files/mx5000tools-0.1.2-musl.patch10
1 files changed, 10 insertions, 0 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
index 8ed94abf1eb1..3b11cf3e5890 100644
--- a/app-misc/mx5000tools/files/mx5000tools-0.1.2-musl.patch
+++ b/app-misc/mx5000tools/files/mx5000tools-0.1.2-musl.patch
@@ -8,3 +8,13 @@
#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>