FreeBSD Bugzilla – Attachment 193639 Details for
Bug 228433
emulators/virtualbox-ose-kmod: compile error: error: "offsetof is not defined!"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Tantive patch
vbox.diff (text/plain), 1.29 KB, created by
Guido Falsi
on 2018-05-23 22:55:37 UTC
(
hide
)
Description:
Tantive patch
Filename:
MIME Type:
Creator:
Guido Falsi
Created:
2018-05-23 22:55:37 UTC
Size:
1.29 KB
patch
obsolete
>Index: files/patch-include_iprt_types.h >=================================================================== >--- files/patch-include_iprt_types.h (nonexistent) >+++ files/patch-include_iprt_types.h (working copy) >@@ -0,0 +1,26 @@ >+--- include/iprt/types.h.orig 2018-05-09 16:32:07 UTC >++++ include/iprt/types.h >+@@ -56,22 +56,9 @@ RT_C_DECLS_END >+ # include <sys/types.h> >+ >+ # elif defined(RT_OS_FREEBSD) && defined(_KERNEL) >+- /* >+- * Kludge for the FreeBSD kernel: >+- * stddef.h and sys/types.h have slightly different offsetof definitions >+- * when compiling in kernel mode. This is just to make GCC shut up. >+- */ >+-# ifndef _STDDEF_H_ >+-# undef offsetof >+-# endif >++ >+ # include <sys/stddef.h> >+-# ifndef _SYS_TYPES_H_ >+-# undef offsetof >+-# endif >+ # include <sys/types.h> >+-# ifndef offsetof >+-# error "offsetof is not defined!" >+-# endif >+ >+ # elif defined(RT_OS_FREEBSD) && HC_ARCH_BITS == 64 && defined(RT_ARCH_X86) >+ /* > >Property changes on: files/patch-include_iprt_types.h >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
madpilot
:
maintainer-approval?
(
vbox
)
Actions:
View
|
Diff
Attachments on
bug 228433
: 193639