git: cd5a26bbc111 - main - emulators/open-vm-tools: Update to 13.1.0

From: Renato Botelho <garga_at_FreeBSD.org>
Date: Tue, 16 Jun 2026 17:25:56 UTC
The branch main has been updated by garga:

URL: https://cgit.FreeBSD.org/ports/commit/?id=cd5a26bbc111c3d5dde98deea75f1dcac00da65b

commit cd5a26bbc111c3d5dde98deea75f1dcac00da65b
Author:     Renato Botelho <garga@FreeBSD.org>
AuthorDate: 2026-06-16 17:24:06 +0000
Commit:     Renato Botelho <garga@FreeBSD.org>
CommitDate: 2026-06-16 17:25:53 +0000

    emulators/open-vm-tools: Update to 13.1.0
    
    While here, fix build with recent glib versions [1]
    
    Obtained from:  https://github.com/vmware/open-vm-tools/pull/779 [1]
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
---
 emulators/open-vm-tools/Makefile                               |  2 +-
 emulators/open-vm-tools/distinfo                               |  6 +++---
 .../open-vm-tools/files/patch-lib_rpcChannel_glib__stubs.c     | 10 ++++++++++
 3 files changed, 14 insertions(+), 4 deletions(-)

diff --git a/emulators/open-vm-tools/Makefile b/emulators/open-vm-tools/Makefile
index 84f61ed3dd4b..64e2456035e8 100644
--- a/emulators/open-vm-tools/Makefile
+++ b/emulators/open-vm-tools/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	open-vm-tools
-PORTVERSION=	13.0.10
+PORTVERSION=	13.1.0
 DISTVERSIONPREFIX=	stable-
 PORTEPOCH=	2
 CATEGORIES=	emulators
diff --git a/emulators/open-vm-tools/distinfo b/emulators/open-vm-tools/distinfo
index c9ceb3cf9a50..eba3dc380a7a 100644
--- a/emulators/open-vm-tools/distinfo
+++ b/emulators/open-vm-tools/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1769521082
-SHA256 (vmware-open-vm-tools-stable-13.0.10_GH0.tar.gz) = 622777a30703226326248fc7d5e55b9ddc280368fc85539d2d1aa06c0531c613
-SIZE (vmware-open-vm-tools-stable-13.0.10_GH0.tar.gz) = 2990615
+TIMESTAMP = 1781552977
+SHA256 (vmware-open-vm-tools-stable-13.1.0_GH0.tar.gz) = 2fed62074256ff5031609722f666b17921742a98dbec73f1b11121a301d6315b
+SIZE (vmware-open-vm-tools-stable-13.1.0_GH0.tar.gz) = 3061414
diff --git a/emulators/open-vm-tools/files/patch-lib_rpcChannel_glib__stubs.c b/emulators/open-vm-tools/files/patch-lib_rpcChannel_glib__stubs.c
new file mode 100644
index 000000000000..6ff9cff04423
--- /dev/null
+++ b/emulators/open-vm-tools/files/patch-lib_rpcChannel_glib__stubs.c
@@ -0,0 +1,10 @@
+--- lib/rpcChannel/glib_stubs.c.orig	2026-06-15 19:56:15 UTC
++++ lib/rpcChannel/glib_stubs.c
+@@ -35,6 +35,7 @@ void *g_malloc0_n(size_t n, size_t s) { return Util_Sa
+ 
+ void *g_malloc0(size_t s) { return Util_SafeCalloc(1, s); }
+ void *g_malloc0_n(size_t n, size_t s) { return Util_SafeCalloc(n, s); }
++#undef g_free
+ void g_free(void *p) { free(p); }
+ 
+ void g_mutex_init(GMutex *mutex) { }