open-vm-tools: update to 12.5.2

release notes:
- https://github.com/vmware/open-vm-tools/releases/tag/12.5.2

patches:
- open-vm-tools: gcc-15 upstream fix
  - included in open-vm-tools-13.0
  - 19fec7a130
  - 2bff25dd35
This commit is contained in:
Rudi Heitbaum 2024-11-20 10:32:02 +00:00
parent 1ef986d1ff
commit c283c8463a
2 changed files with 26 additions and 7 deletions

View File

@ -4,12 +4,12 @@
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv) # Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="open-vm-tools" PKG_NAME="open-vm-tools"
PKG_VERSION="12.5.0" PKG_VERSION="12.5.2"
PKG_SHA256="a52182c7e6b5df41bb317625e9d8592ecdb9db814d1c2c9b7cdb91a77f8c0640" PKG_SHA256="45fe43982e618f52a6b12c7578d9c6b63e36de62d23034a3852267b1aa5bb9ab"
PKG_ARCH="x86_64" PKG_ARCH="x86_64"
PKG_LICENSE="GPL" PKG_LICENSE="GPL"
PKG_SITE="https://github.com/vmware/open-vm-tools" PKG_SITE="https://github.com/vmware/open-vm-tools"
PKG_URL="https://github.com/vmware/open-vm-tools/archive/stable-${PKG_VERSION}.tar.gz" PKG_URL="https://github.com/vmware/open-vm-tools/releases/download/${PKG_VERSION}/${PKG_NAME}-${PKG_VERSION}-24697584.tar.gz"
PKG_DEPENDS_TARGET="toolchain fuse3 glib libdnet libtirpc" PKG_DEPENDS_TARGET="toolchain fuse3 glib libdnet libtirpc"
PKG_LONGDESC="open-vm-tools: open source implementation of VMware Tools" PKG_LONGDESC="open-vm-tools: open source implementation of VMware Tools"
PKG_TOOLCHAIN="autotools" PKG_TOOLCHAIN="autotools"
@ -29,10 +29,6 @@ PKG_CONFIGURE_OPTS_TARGET="--disable-docs \
--with-udev-rules-dir=/usr/lib/udev/rules.d/ \ --with-udev-rules-dir=/usr/lib/udev/rules.d/ \
--with-sysroot=${SYSROOT_PREFIX}" --with-sysroot=${SYSROOT_PREFIX}"
configure_package() {
PKG_CONFIGURE_SCRIPT="${PKG_BUILD}/open-vm-tools/configure"
}
post_unpack() { post_unpack() {
# Hack to allow package to be bumped without linking against old libraries # Hack to allow package to be bumped without linking against old libraries
rm -f ${SYSROOT_PREFIX}/usr/lib/libvmtools* rm -f ${SYSROOT_PREFIX}/usr/lib/libvmtools*

View File

@ -0,0 +1,23 @@
From 129d87bd5fd5f2436a467d4b7d43e0d102a867da Mon Sep 17 00:00:00 2001
From: Rudi Heitbaum <rudi@heitbaum.com>
Date: Wed, 20 Nov 2024 10:40:03 +1100
Subject: [PATCH] Fix build when compiling with -std=c23
Fixes the build when using gcc 15
---
lib/lock/ul.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/lock/ul.c b/lib/lock/ul.c
index d376a98af..fc9fdb714 100644
--- a/lib/lock/ul.c
+++ b/lib/lock/ul.c
@@ -29,7 +29,7 @@
static Bool mxInPanic = FALSE; // track when involved in a panic
static Bool mxUserCollectLockingTree = FALSE;
-Bool (*MXUserTryAcquireForceFail)() = NULL;
+Bool (*MXUserTryAcquireForceFail)(const char *) = NULL;
static MX_Rank (*MXUserMxCheckRank)(void) = NULL;
static void (*MXUserMxLockLister)(void) = NULL;