From: Kruti Pendharkar Date: Thu, 19 Jun 2025 04:26:59 +0000 (-0700) Subject: Merge branch 'stable-13.0.x' X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d76b0c858ecbd8d8372545a0ca2c99119cd511a3;p=thirdparty%2Fopen-vm-tools.git Merge branch 'stable-13.0.x' --- d76b0c858ecbd8d8372545a0ca2c99119cd511a3 diff --cc open-vm-tools/lib/include/vm_tools_version.h index af490a510,ef67f737c..5a745c7b5 --- a/open-vm-tools/lib/include/vm_tools_version.h +++ b/open-vm-tools/lib/include/vm_tools_version.h @@@ -1793,24 -1803,16 +1803,31 @@@ TOOLS_VERSION_UINT_TO_COMPONENTS(const #define TOOLS_VERSION_PLIERS_RELEASE_V_MNR 5 #define TOOLS_VERSION_PLIERS_RELEASE_V_BASE 0 + #ifndef RC_INVOKED + #define TOOLS_VERSION_NEXT TOOLS_VERSION_TO_UINT(TOOLS_VERSION_NEXT_V) + #endif /* RC_INVOKED */ + #define TOOLS_VERSION_NEXT_V_MJR 13 + #define TOOLS_VERSION_NEXT_V_MNR 0 + #define TOOLS_VERSION_NEXT_V_BASE 0 + -#define TOOLS_VERSION_CURRENT TOOLS_VERSION_NEXT -#define TOOLS_VERSION_CURRENT_STR TOOLS_VERSION_TO_STR(TOOLS_VERSION_NEXT) -#define TOOLS_VERSION_CURRENT_CSV TOOLS_VERSION_TO_CSV(TOOLS_VERSION_NEXT) +#ifndef RC_INVOKED +#define TOOLS_VERSION_PLIERS_PATCH1 TOOLS_VERSION_TO_UINT(TOOLS_VERSION_PLIERS_PATCH1_V) +#endif /* RC_INVOKED */ +#define TOOLS_VERSION_PLIERS_PATCH1_V_MJR 12 +#define TOOLS_VERSION_PLIERS_PATCH1_V_MNR 5 +#define TOOLS_VERSION_PLIERS_PATCH1_V_BASE 1 + + +#ifndef RC_INVOKED +#define TOOLS_VERSION_PLIERS_PATCH2 TOOLS_VERSION_TO_UINT(TOOLS_VERSION_PLIERS_PATCH2_V) +#endif /* RC_INVOKED */ +#define TOOLS_VERSION_PLIERS_PATCH2_V_MJR 12 +#define TOOLS_VERSION_PLIERS_PATCH2_V_MNR 5 +#define TOOLS_VERSION_PLIERS_PATCH2_V_BASE 2 + +#define TOOLS_VERSION_CURRENT TOOLS_VERSION_PLIERS_PATCH2 +#define TOOLS_VERSION_CURRENT_STR TOOLS_VERSION_TO_STR(TOOLS_VERSION_PLIERS_PATCH2) +#define TOOLS_VERSION_CURRENT_CSV TOOLS_VERSION_TO_CSV(TOOLS_VERSION_PLIERS_PATCH2) /* * The extended Tools version is the current Tools version with the diff --cc open-vm-tools/vgauth/serviceImpl/saml-xmlsec1.c index 7de27aa44,7bf70fa74..c127cbcef --- a/open-vm-tools/vgauth/serviceImpl/saml-xmlsec1.c +++ b/open-vm-tools/vgauth/serviceImpl/saml-xmlsec1.c @@@ -32,25 -32,7 +32,23 @@@ #include #include #include - #include - #include +// PR 3416639, xmlFile* APIs were deprecated in libxml2 2.13.0 +// Ignore the deprecated warnings after updating libxml2 to 2.13.3 +// ToDo: Define the deprecated APIs locally and remove the +// XML_IGNORE_DEPRECATION_WARNINGS +#ifdef _WIN32 +#define XML_IGNORE_DEPRECATION_WARNINGS \ + __pragma(warning(push)) \ + __pragma(warning(disable : 4996)) +#define XML_POP_WARNINGS __pragma(warning(pop)) +#else +#define XML_IGNORE_DEPRECATION_WARNINGS \ + _Pragma("GCC diagnostic push") \ + _Pragma("GCC diagnostic ignored \"-Wdeprecated-declarations\"") +#define XML_POP_WARNINGS _Pragma("GCC diagnostic pop") +#endif + #include #include #include