libfpx header not self contained

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
nros
Posts: 7
Joined: 2015-12-26T08:14:32-07:00
Authentication code: 1151
Location: Sweden

libfpx header not self contained

Post by nros »

fpxlib.h in libfpx does use size_t but does not include this type.
compiling a program like:
#include <fpxlib.h>
int main(){return 0;}

breaks with messages about size_t missing.

including stddef.h fixes this.
a patch is available at:
https://wip.pkgsrc.org/cgi-bin/gitweb.c ... h-fpxlib.h
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: libfpx header not self contained

Post by magick »

We applied your patch to libfpx-1.3.1-9, available by sometime tomorrow. Thanks.
nros
Posts: 7
Joined: 2015-12-26T08:14:32-07:00
Authentication code: 1151
Location: Sweden

Re: libfpx header not self contained

Post by nros »

Thanks.
nros
Posts: 7
Joined: 2015-12-26T08:14:32-07:00
Authentication code: 1151
Location: Sweden

Re: libfpx header not self contained

Post by nros »

Also related to libfpx is that the pdf files in the doc directory are broken. I can't read them with any pdf reader I tested. Just to point it out.
Post Reply