summaryrefslogtreecommitdiff
path: root/app-admin/mcelog/files/mcelog-194-musl-fix.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-06-15 13:38:09 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-06-15 13:38:09 +0100
commitdb70871b2044b9bfde346d6f4027dafb0a013c4c (patch)
tree34548aee54e5458d3754bd8c8f987acdb5ee444c /app-admin/mcelog/files/mcelog-194-musl-fix.patch
parent1c382dc5dbc52576ac2300fee0498af8af44e7b4 (diff)
gentoo auto-resync : 15:06:2023 - 13:38:09
Diffstat (limited to 'app-admin/mcelog/files/mcelog-194-musl-fix.patch')
-rw-r--r--app-admin/mcelog/files/mcelog-194-musl-fix.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/app-admin/mcelog/files/mcelog-194-musl-fix.patch b/app-admin/mcelog/files/mcelog-194-musl-fix.patch
new file mode 100644
index 000000000000..6ea3c1f79303
--- /dev/null
+++ b/app-admin/mcelog/files/mcelog-194-musl-fix.patch
@@ -0,0 +1,21 @@
+https://github.com/andikleen/mcelog/pull/115
+From: Brahmajit Das <brahmajit.xyz@gmail.com>
+Date: Mon, 12 Jun 2023 10:56:44 +0000
+Subject: [PATCH] client: Fix build w/ musl libc
+
+Refer: https://github.com/andikleen/mcelog/pull/115
+Bug: https://bugs.gentoo.org/894316
+Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
+--- a/client.c
++++ b/client.c
+@@ -19,6 +19,7 @@
+ #include <sys/socket.h>
+ #include <sys/un.h>
+ #include <unistd.h>
++#include <string.h>
+ #include "mcelog.h"
+ #include "client.h"
+ #include "paths.h"
+--
+2.41.0
+