[Pkg-phototools-devel] Bug#788102: The code doesn't compile on kfreebsd
Steven Chamberlain
steven at pyro.eu.org
Wed Jul 22 16:55:14 UTC 2015
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...
> typedef struct
> {
...
> int mc_fpstate[128] __attribute__((aligned(16)));
> int mc_spare2[8];
> } mcontext_t;
I see that FreeBSD Ports has ilmbase-2.20 and succeeded building
libIexMath, yet they don't seem to have patched this source file.
I should try building it on a real FreeBSD system, to compare the
build log with that of a GNU/kFreeBSD system.
Regards,
--
Steven Chamberlain
steven at pyro.eu.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 493 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-phototools-devel/attachments/20150722/b3c87bd5/attachment.sig>
More information about the Pkg-phototools-devel
mailing list