Page 1 of 1

libfpx header not self contained

Posted: 2017-07-04T03:53:12-07:00
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

Re: libfpx header not self contained

Posted: 2017-07-04T04:29:19-07:00
by magick
We applied your patch to libfpx-1.3.1-9, available by sometime tomorrow. Thanks.

Re: libfpx header not self contained

Posted: 2017-07-04T07:25:51-07:00
by nros
Thanks.

Re: libfpx header not self contained

Posted: 2017-07-04T23:50:05-07:00
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.