VirtualBox 3.2.2 on -current
Michael Butler
imb at protected-networks.net
Thu Jun 3 19:10:26 UTC 2010
On 06/03/10 15:06, Michael Butler wrote:
> On 06/03/10 15:04, Michael Butler wrote:
>> Two patches are required to get VirtualBox 3.2.2 to compile on -current
>> SVN r208788 (and, likely, before).
>
>> Unofficial fixes for both attached,
>
> Hmmpff!
*** include/iprt/string.h~ Tue Apr 27 16:23:42 2010
--- include/iprt/string.h Thu Jun 3 14:56:23 2010
***************
*** 60,66 ****
#if (defined(RT_OS_DARWIN) && defined(KERNEL)) \
|| (defined(RT_OS_FREEBSD) && defined(_KERNEL))
RT_C_DECLS_BEGIN
! void *memchr(const void *pv, int ch, size_t cb);
char *strpbrk(const char *pszStr, const char *pszChars);
RT_C_DECLS_END
#endif
--- 60,66 ----
#if (defined(RT_OS_DARWIN) && defined(KERNEL)) \
|| (defined(RT_OS_FREEBSD) && defined(_KERNEL))
RT_C_DECLS_BEGIN
! /* void *memchr(const void *pv, int ch, size_t cb); */
char *strpbrk(const char *pszStr, const char *pszChars);
RT_C_DECLS_END
#endif
*** src/VBox/Frontends/VirtualBox/src/settings/vm/VBoxVMSettingsHD.h~
Wed Jun 2 10:04:53 2010
--- src/VBox/Frontends/VirtualBox/src/settings/vm/VBoxVMSettingsHD.h
Thu Jun 3 14:21:11 2010
***************
*** 20,27 ****
#define __VBoxVMSettingsHD_h__
/* Global includes */
- #include <qglobal.h> /* for Q_WS_MAC */
#ifdef Q_WS_MAC
/* Somewhere Carbon.h includes AssertMacros.h which defines the macro
"check".
* In QItemDelegate a class method is called "check" also. As we not
used the
* macro undefine it here. */
--- 20,27 ----
#define __VBoxVMSettingsHD_h__
/* Global includes */
#ifdef Q_WS_MAC
+ #include <qglobal.h> /* for Q_WS_MAC */
/* Somewhere Carbon.h includes AssertMacros.h which defines the macro
"check".
* In QItemDelegate a class method is called "check" also. As we not
used the
* macro undefine it here. */
More information about the freebsd-emulation
mailing list