Dominique Leuenberger
70390920d1
Updating to version 9.10.0. Highlights include: - Update to open-vm-tools-9.10.0-2476743: - Build using gcc4.7 for SLES11 environments to avoid mul64.h dependency problem for i586 architectures (Note - This prevents building on <= SLES11SP2) - Add libmspack BuildRequires (required by deploypkg). - Add openssl BuildRequires (required by grabbitmqproxy and vgauth). - Compile using --without-xmlsecurity and --without-xerces as pkgconfig(xml-security-c) is not yet available in the build service, (this disables vgauth support). - Disable deploypkg for older versions of SLES and openSUSE. - Disable ssl for older versions of SLES and openSUSE (this disables grabbitmqproxy and vgauth). - Update spec file to be compatible with SLES and openSUSE. OBS-URL: https://build.opensuse.org/request/show/309111 OBS-URL: https://build.opensuse.org/package/show/Virtualization:VMware/open-vm-tools?expand=0&rev=294
61 lines
2.5 KiB
Diff
61 lines
2.5 KiB
Diff
When compiling under gcc4.6+, the following errors can be seen:
|
|
|
|
[ 93s] In file included from /usr/include/sigc++-2.0/sigc++/signal.h:8:0,
|
|
[ 93s] from /usr/include/sigc++-2.0/sigc++/connection.h:22,
|
|
[ 93s] from ../../../services/plugins/dndcp/dnd/copyPasteRpc.hh:28,
|
|
[ 93s] from dndGuest/copyPasteRpcV3.hh:29,
|
|
[ 93s] from dndGuest/copyPasteRpcV3.cc:26:
|
|
[ 93s] /usr/include/sigc++-2.0/sigc++/signal_base.h:46:11: error: 'size_t' does not name a type
|
|
[ 93s] typedef size_t size_type;
|
|
[ 93s] ^
|
|
[ 93s] /usr/include/sigc++-2.0/sigc++/signal_base.h:95:3: error: 'size_type' does not name a type
|
|
[ 93s] size_type size() const;
|
|
[ 93s] ^
|
|
[ 93s] /usr/include/sigc++-2.0/sigc++/signal_base.h:239:11: error: 'size_t' does not name a type
|
|
[ 93s] typedef size_t size_type;
|
|
[ 93s] ^
|
|
[ 93s] /usr/include/sigc++-2.0/sigc++/signal_base.h:261:3: error: 'size_type' does not name a type
|
|
[ 93s] size_type size() const;
|
|
|
|
As per https://gcc.gnu.org/gcc-4.6/porting_to.html, this is fixed through:
|
|
|
|
#include <cstddef>
|
|
|
|
|
|
Index: open-vm-tools-9.10.0-2476743/services/plugins/dndcp/dnd/copyPasteRpc.hh
|
|
===================================================================
|
|
--- open-vm-tools-9.10.0-2476743.orig/services/plugins/dndcp/dnd/copyPasteRpc.hh
|
|
+++ open-vm-tools-9.10.0-2476743/services/plugins/dndcp/dnd/copyPasteRpc.hh
|
|
@@ -25,6 +25,7 @@
|
|
#ifndef COPY_PASTE_RPC_HH
|
|
#define COPY_PASTE_RPC_HH
|
|
|
|
+#include <cstddef>
|
|
#include <sigc++/connection.h>
|
|
#include "dndCPLibExport.hh"
|
|
#include "rpcBase.h"
|
|
Index: open-vm-tools-9.10.0-2476743/services/plugins/dndcp/dnd/dndRpc.hh
|
|
===================================================================
|
|
--- open-vm-tools-9.10.0-2476743.orig/services/plugins/dndcp/dnd/dndRpc.hh
|
|
+++ open-vm-tools-9.10.0-2476743/services/plugins/dndcp/dnd/dndRpc.hh
|
|
@@ -25,6 +25,7 @@
|
|
#ifndef DND_RPC_HH
|
|
#define DND_RPC_HH
|
|
|
|
+#include <cstddef>
|
|
#include <sigc++/connection.h>
|
|
#include "dndCPLibExport.hh"
|
|
#include "rpcBase.h"
|
|
Index: open-vm-tools-9.10.0-2476743/services/plugins/dndcp/dnd/fileTransferRpc.hh
|
|
===================================================================
|
|
--- open-vm-tools-9.10.0-2476743.orig/services/plugins/dndcp/dnd/fileTransferRpc.hh
|
|
+++ open-vm-tools-9.10.0-2476743/services/plugins/dndcp/dnd/fileTransferRpc.hh
|
|
@@ -25,6 +25,7 @@
|
|
#ifndef FILE_TRANSFER_RPC_HH
|
|
#define FILE_TRANSFER_RPC_HH
|
|
|
|
+#include <cstddef>
|
|
#include <sigc++/connection.h>
|
|
#include "dndCPLibExport.hh"
|
|
#include "rpcBase.h"
|