[Pkg-phototools-devel] Bug#788102: The code doesn't compile on kfreebsd

Mathieu Malaterre malat at debian.org
Mon Sep 14 12:52:47 UTC 2015


On Mon, Sep 14, 2015 at 2:33 PM, Mathieu Malaterre <malat at debian.org> wrote:
> On Wed, Jul 22, 2015 at 6:55 PM, Steven Chamberlain <steven at pyro.eu.org> wrote:
>> Hello,
>>
>> Gianfranco Costamagna wrote:
>>> file.c:5:38: error: ‘mcontext_t’ has no member named ‘fpregs’
>>> uint32_t mxcsr = ucon.uc_mcontext.fpregs->mxcsr;
>>
>> FreeBSD doesn't seem to have fpregs in mcontext_t or sigcontext.
>> But I think mc_fpstate might be the same thing;  but that isn't
>> implemented as a struct...
>
> Correct. Looks like other are handling it this way also
>
> https://github.com/fukamachi/clozure-cl/blob/master/level-1/x86-trap-support.lisp

I still fail to understand how ilmbase can compile on FreeBSD without
any patch to this particular section of code.

ref:
https://svnweb.freebsd.org/ports/head/graphics/ilmbase/files/



More information about the Pkg-phototools-devel mailing list