virtualization/app-emulation/open-vm-tools/files/open-vm-tools-build-fix.patch
geos_one b0fa8f75c7 move
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/vmware@1340 6952d904-891a-0410-993b-d76249ca496b
2009-07-08 05:57:49 +00:00

24 lines
836 B
Diff

--- a/vmware-user/vmware-user.cpp
+++ b/vmware-user/vmware-user.cpp
@@ -529,7 +529,7 @@ VMwareUserRpcInSetOptionCB(char const **
char *value;
unsigned int index = 0;
Bool ret = FALSE;
- char *retStr = NULL;
+ const char *retStr = NULL;
/* parse the option & value string */
option = StrUtil_GetNextToken(&index, args, " ");
--- a/vmware-user/Makefile.am
+++ b/vmware-user/Makefile.am
@@ -75,7 +75,9 @@ vmware_user_LDADD += ../lib/err/libErr.l
vmware_user_LDADD += ../lib/foundryMsg/libFoundryMsg.la
vmware_user_LDADD += ../lib/backdoor/libBackdoor.la
vmware_user_LDADD += ../lib/dict/libDict.la
+if HAVE_GTKMM
vmware_user_LDADD += ../lib/dndGuest/libDndGuest.la
+endif
vmware_user_LDADD += ../lib/dnd/libDnd.la
vmware_user_LDADD += ../lib/dynxdr/libDynxdr.la
vmware_user_LDADD += ../lib/hgfs/libHgfs.la