Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
VirtualBox 6.0.10 additions build for 8.99.51
It builds with the following two patches (the first one almost
certainly wrong, although the result appears to be working):
.....
--- ./src/VBox/Runtime/common/path/RTPathAbsEx.cpp.ORIG 2019-07-20
11:55:09.661784205 +0100
+++ ./src/VBox/Runtime/common/path/RTPathAbsEx.cpp 2019-07-20
11:55:38.098838914 +0100
@@ -265,22 +265,8 @@
cchInPlace = 0;
cbCwd = RT_MAX(cbCwd * 4, RTPATH_BIG_MAX);
pszCwdFree = pszCwd = (char *)RTMemTmpAlloc(cbCwd);
- if (pszCwdFree)
- {
- rc = RTPathGetCurrentOnDrive(pszPath[0], pszCwd, cbCwd);
- if (RT_FAILURE(rc))
- {
- if (rc == VERR_BUFFER_OVERFLOW)
- rc = VERR_FILENAME_TOO_LONG;
- RTMemTmpFree(pszCwdFree);
- return rc;
- }
- }
- else
- {
- *pcbAbsPath = cbCwd + 1 + pParsed->cchPath + 1;
- return rc;
- }
+ *pcbAbsPath = cbCwd + 1 + pParsed->cchPath + 1;
+ return rc;
}
else
return rc;
--- ./src/VBox/Additions/common/VBoxGuest/VBoxGuest-netbsd.c.orig
2019-07-12 09:30:47.000000000 +0100
+++ ./src/VBox/Additions/common/VBoxGuest/VBoxGuest-netbsd.c
2019-07-20 11:21:18.400477530 +0100
@@ -1011,7 +1011,7 @@
error = do_sys_mknod(curlwp, "/dev/vboxguest",
0666|S_IFCHR, makedev(cmajor, 0),
- &retval, UIO_SYSSPACE);
+ UIO_SYSSPACE);
if (error == EEXIST)
error = 0;
break;
......
One also needs
TEMPLATE_VBOXGUESTR3EXE_LIBS = $(TEMPLATE_VBOXR3EXE_LIBS) crypt
in LocalConfig.kmk
--
----
Home |
Main Index |
Thread Index |
Old Index