[Fontconfig-bugs] [Bug 74602] New: Build for AIX of fcstat.c fails with undefined struct statvsf

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Feb 5 23:47:53 PST 2014


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

          Priority: medium
            Bug ID: 74602
          Assignee: fontconfig-bugs at lists.freedesktop.org
           Summary: Build for AIX of fcstat.c fails with undefined struct
                    statvsf
        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

configure is (correctly) checking for function fstatvfs(), and finding it.
However there is also a configure test for vsf.h which sets HAVE_SYS_VFS_H, and
results in 
#include <sys/vsf.h>

By inspection, windows target does not provide for fstatvsf(), and both AIX and
linux provide this prototype in <sys/statvsf.h>, not in <sys/vsf.h>. I dunno
which other OS targets you guys have on your radar where perhaps vsf.h is the
correct answer?

I have altered the include to be <sys/statvsf.h> and all is well. I am happy to
provide a patch for the c code, but am reluctant to fiddle with automake /
autoconf tests - my version of auto-tools is very different from that shipped
with fontconfig.

-- 
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/9a00d301/attachment.html>


More information about the Fontconfig-bugs mailing list