[Fontconfig-bugs] [Bug 74603] New: Build for AIX of fccompat.c fails with wrong number of arguments for initstate_r()
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Feb 5 23:56:00 PST 2014
https://bugs.freedesktop.org/show_bug.cgi?id=74603
Priority: medium
Bug ID: 74603
Assignee: fontconfig-bugs at lists.freedesktop.org
Summary: Build for AIX of fccompat.c fails with wrong number of
arguments for initstate_r()
QA Contact: freedesktop at behdad.org
Severity: normal
Classification: Unclassified
OS: AIX
Reporter: tomsies at mighty.co.za
Hardware: PowerPC
Status: NEW
Version: unspecified
Component: library
Product: fontconfig
AIX does define initstate_r(), which autoconf is correctly picking up. However
the prototype of the IBM initstate_r() has five arguments, and does not match
the linux prototype with four arguments. The random_r() prototype is also
different to linux prototype.
Patching ling 169 in fccompat.c from
#ifdef HAVE_RANDOM_R
to
#if defined(HAVE_RANDOM_R) && !defined(_AIX)
allows the compile to go through OK, and all looks to be well.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/fontconfig-bugs/attachments/20140206/2943983b/attachment.html>
More information about the Fontconfig-bugs
mailing list