Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Feb 2015 13:36:49 +0000 (UTC)
From:      Koop Mast <kwm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r378961 - head/emulators/open-vm-tools/files
Message-ID:  <201502141336.t1EDanaa060981@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kwm
Date: Sat Feb 14 13:36:48 2015
New Revision: 378961
URL: https://svnweb.freebsd.org/changeset/ports/378961
QAT: https://qat.redports.org/buildarchive/r378961/

Log:
  Fix build with clang 3.5.0.
  
  PR:		196108
  Submitted by:	dim@
  Approved by:	maintainer (via IRC)

Added:
  head/emulators/open-vm-tools/files/patch-toolbox__toolboxcmd-shrink.c   (contents, props changed)

Added: head/emulators/open-vm-tools/files/patch-toolbox__toolboxcmd-shrink.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/emulators/open-vm-tools/files/patch-toolbox__toolboxcmd-shrink.c	Sat Feb 14 13:36:48 2015	(r378961)
@@ -0,0 +1,11 @@
+--- toolbox/toolboxcmd-shrink.c.orig	2013-09-23 17:51:10.000000000 +0200
++++ toolbox/toolboxcmd-shrink.c	2014-11-25 17:57:44.000000000 +0100
+@@ -391,7 +391,7 @@ ShrinkDoWipeAndShrink(char *mountPoint, 
+     * Verify that wiping/shrinking are permitted before going through with the
+     * wiping operation.
+     */
+-   if (!ShrinkGetWiperState() == WIPER_ENABLED && !Wiper_IsWipeSupported(part)) {
++   if (ShrinkGetWiperState() != WIPER_ENABLED && !Wiper_IsWipeSupported(part)) {
+       g_debug("%s cannot be wiped / shrunk\n", mountPoint);
+       ToolsCmd_PrintErr("%s",
+                         SU_(disk.shrink.disabled, SHRINK_DISABLED_ERR));



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201502141336.t1EDanaa060981>