[Fontconfig-bugs] [Bug 52573] patch required to build 2.10.x with oldish GNU C library headers

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jul 27 04:09:11 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=52573

--- Comment #2 from Peter Breitenlohner <peb at mppmu.mpg.de> 2012-07-27 11:09:11 UTC ---
You are absolutely right and and that is indeed what I tried first.  To be
precise I had passed 'CPPFLAGS=-D_XOPEN_SOURCE=600' to configure, but that
didn't help.

<features.h> is already included automatically via <stdlib.h>.

Part of the problem clearly is that configure detects the function but does not
realize the missing declaration.  IMHO that is a weakness of your configure.ac.

Doing some experiments, I found that defining _GNU_SOURCE was the only thing
that did help (e.g., via CPPFLAGS passed to configure).

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Fontconfig-bugs mailing list