summaryrefslogtreecommitdiff
path: root/sys-cluster/sanlock/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-09-07 10:35:35 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-09-07 10:35:35 +0100
commita0e773d57146b0a0ec25567af504a10e6f187811 (patch)
tree09e8f87aa02b56f14f16e82522b625cfeccb1103 /sys-cluster/sanlock/files
parent1ccef27203b03f1fa900c9b44dc425df27e49452 (diff)
gentoo auto-resync : 07:09:2022 - 10:35:34
Diffstat (limited to 'sys-cluster/sanlock/files')
-rw-r--r--sys-cluster/sanlock/files/sanlock-3.8.4-implicit-func-decls.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/sys-cluster/sanlock/files/sanlock-3.8.4-implicit-func-decls.patch b/sys-cluster/sanlock/files/sanlock-3.8.4-implicit-func-decls.patch
new file mode 100644
index 000000000000..7e99d9b1f939
--- /dev/null
+++ b/sys-cluster/sanlock/files/sanlock-3.8.4-implicit-func-decls.patch
@@ -0,0 +1,34 @@
+https://pagure.io/sanlock/issue/8
+
+From 272f9838f3495f5e419f77e000762c420754c96d Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Sep 02 2022 22:58:56 +0000
+Subject: add missing system header string.h
+
+
+This is needed for mem* function prototypes used in these sources
+
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+
+--- a/src/sanlock_sock.c
++++ b/src/sanlock_sock.c
+@@ -12,6 +12,7 @@
+ #include <stdio.h>
+ #include <stdint.h>
+ #include <stddef.h>
++#include <string.h>
+ #include <sys/socket.h>
+ #include <sys/un.h>
+
+--- a/wdmd/wdmd_sock.c
++++ b/wdmd/wdmd_sock.c
+@@ -12,6 +12,7 @@
+ #include <stdio.h>
+ #include <stdint.h>
+ #include <stddef.h>
++#include <string.h>
+ #include <sys/socket.h>
+ #include <sys/un.h>
+
+
+