Date: Wed, 23 May 2018 22:55:37 +0000 From: bugzilla-noreply@freebsd.org To: vbox@FreeBSD.org Subject: [Bug 228433] emulators/virtualbox-ose-kmod: compile error: error: "offsetof is not defined!" Message-ID: <bug-228433-26505-llYlifV0HM@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-228433-26505@https.bugs.freebsd.org/bugzilla/> References: <bug-228433-26505@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D228433 Guido Falsi <madpilot@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |madpilot@FreeBSD.org, | |vbox@FreeBSD.org Attachment #193639| |maintainer-approval?(vbox@F Flags| |reeBSD.org) --- Comment #1 from Guido Falsi <madpilot@FreeBSD.org> --- Created attachment 193639 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D193639&action= =3Dedit Tantive patch I've hit this myself just now. Having a look at the failing part of the source code it looks like what they define as a kludge is not necessary anymore and has been fixed in base r324= 622. I also suspect the kludge was already not necessary when they switched from including stddef.h to including sys/stddef.h, which has never diverged from types.h in the definition of offsetof. I've made a very simple patch removing the kludge and simply including the required files. It does compile, but I still have to test it at runtime, wh= ich I will do once building a bunch of other packages is done and report back. I'm anyway attaching my patch for reference. --=20 You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-228433-26505-llYlifV0HM>