<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Build for AIX of fcstat.c fails with undefined struct statvsf"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=74602">74602</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>fontconfig-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Build for AIX of fcstat.c fails with undefined struct statvsf
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>freedesktop@behdad.org
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>AIX
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>tomsies@mighty.co.za
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PowerPC
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>library
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>fontconfig
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>