svn commit: r459385 - head/emulators/virtualbox-ose/files
Jung-uk Kim
jkim at FreeBSD.org
Fri Jan 19 01:13:18 UTC 2018
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 */
More information about the svn-ports-all
mailing list