diff options
Diffstat (limited to 'meta-networking/recipes-support/open-vm-tools/open-vm-tools/0001-Fix-build-when-compiling-with-std-c23.patch')
-rw-r--r-- | meta-networking/recipes-support/open-vm-tools/open-vm-tools/0001-Fix-build-when-compiling-with-std-c23.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0001-Fix-build-when-compiling-with-std-c23.patch b/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0001-Fix-build-when-compiling-with-std-c23.patch new file mode 100644 index 0000000000..aad1b10b52 --- /dev/null +++ b/meta-networking/recipes-support/open-vm-tools/open-vm-tools/0001-Fix-build-when-compiling-with-std-c23.patch | |||
@@ -0,0 +1,26 @@ | |||
1 | From 2a79621f58bf1c4bc0166ccc044fcf343fb66b44 Mon Sep 17 00:00:00 2001 | ||
2 | From: Rudi Heitbaum <rudi@heitbaum.com> | ||
3 | Date: Wed, 20 Nov 2024 10:40:03 +1100 | ||
4 | Subject: [PATCH] Fix build when compiling with -std=c23 | ||
5 | |||
6 | Fixes the build when using gcc 15 | ||
7 | |||
8 | Upstream-Status: Submitted [https://github.com/vmware/open-vm-tools/pull/751] | ||
9 | Signed-off-by: Martin Jansa <martin.jansa@gmail.com> | ||
10 | --- | ||
11 | open-vm-tools/lib/lock/ul.c | 2 +- | ||
12 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
13 | |||
14 | diff --git a/open-vm-tools/lib/lock/ul.c b/open-vm-tools/lib/lock/ul.c | ||
15 | index d376a98af..fc9fdb714 100644 | ||
16 | --- a/open-vm-tools/lib/lock/ul.c | ||
17 | +++ b/open-vm-tools/lib/lock/ul.c | ||
18 | @@ -29,7 +29,7 @@ | ||
19 | static Bool mxInPanic = FALSE; // track when involved in a panic | ||
20 | static Bool mxUserCollectLockingTree = FALSE; | ||
21 | |||
22 | -Bool (*MXUserTryAcquireForceFail)() = NULL; | ||
23 | +Bool (*MXUserTryAcquireForceFail)(const char *) = NULL; | ||
24 | |||
25 | static MX_Rank (*MXUserMxCheckRank)(void) = NULL; | ||
26 | static void (*MXUserMxLockLister)(void) = NULL; | ||