Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jan 2018 01:13:17 +0000 (UTC)
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r459385 - head/emulators/virtualbox-ose/files
Message-ID:  <201801190113.w0J1DHiu002845@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jkim
Date: Fri Jan 19 01:13:17 2018
New Revision: 459385
URL: https://svnweb.freebsd.org/changeset/ports/459385

Log:
  Fix emulators/virtualbox-ose-additions build with Clang 6.0.

Added:
  head/emulators/virtualbox-ose/files/patch-src_VBox_Runtime_common_err_RTErrConvertFromErrno.cpp   (contents, props changed)

Added: head/emulators/virtualbox-ose/files/patch-src_VBox_Runtime_common_err_RTErrConvertFromErrno.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/emulators/virtualbox-ose/files/patch-src_VBox_Runtime_common_err_RTErrConvertFromErrno.cpp	Fri Jan 19 01:13:17 2018	(r459385)
@@ -0,0 +1,11 @@
+--- src/VBox/Runtime/common/err/RTErrConvertFromErrno.cpp.orig	2018-01-15 14:56:07 UTC
++++ src/VBox/Runtime/common/err/RTErrConvertFromErrno.cpp
+@@ -302,7 +302,7 @@ RTDECL(int)  RTErrConvertFromErrno(unsigned uNativeCod
+         case EILSEQ:            return VERR_NO_TRANSLATION;
+ #endif
+ #ifdef ERESTART
+-        case ERESTART:          return VERR_INTERRUPTED;/** @todo fix duplicate error?*/
++        case (unsigned)ERESTART: return VERR_INTERRUPTED;/** @todo fix duplicate error?*/
+ #endif
+ #ifdef ESTRPIPE
+         //case ESTRPIPE 86      /* Streams pipe error */



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