diff options
Diffstat (limited to 'package/openvmtools/0003-conditionally-define-g_info.patch')
-rw-r--r-- | package/openvmtools/0003-conditionally-define-g_info.patch | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/package/openvmtools/0003-conditionally-define-g_info.patch b/package/openvmtools/0003-conditionally-define-g_info.patch deleted file mode 100644 index fa35f2935c..0000000000 --- a/package/openvmtools/0003-conditionally-define-g_info.patch +++ /dev/null @@ -1,28 +0,0 @@ -conditionally define g_info - -glib also defines a g_info macro since 2.39.2, conflicting with the one in -openvmtools: - -https://git.gnome.org/browse/glib/commit/?h=glib-2-40&id=36f1a4ce7ed6df6aa8 - -Patch from Fedora: - -https://bugzilla.redhat.com/show_bug.cgi?id=1063847 -http://pkgs.fedoraproject.org/cgit/open-vm-tools.git/tree/g_info_redefine.patch - -Signed-off-by: Peter Korsgaard <peter@korsgaard.com> - -diff -uNr open-vm-tools-9.4.0-1280544.orig/lib/include/vmware/tools/log.h open-vm-tools-9.4.0-1280544/lib/include/vmware/tools/log.h ---- open-vm-tools-9.4.0-1280544.orig/lib/include/vmware/tools/log.h 2013-09-23 19:51:10.000000000 +0400 -+++ open-vm-tools-9.4.0-1280544/lib/include/vmware/tools/log.h 2014-02-18 10:56:50.368604176 +0400 -@@ -134,7 +134,9 @@ - ******************************************************************************* - */ - --#define g_info(fmt, ...) g_log(G_LOG_DOMAIN, G_LOG_LEVEL_INFO, fmt, ## __VA_ARGS__) -+#if !defined(g_info) -+# define g_info(fmt, ...) g_log(G_LOG_DOMAIN, G_LOG_LEVEL_INFO, fmt, ## __VA_ARGS__) -+#endif - - - /* |