<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 of test-migration.c fails on both windows and AIX"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=74606">74606</a>
          </td>
        </tr>

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

        <tr>
          <th>Summary</th>
          <td>Build of test-migration.c fails on both windows and AIX
          </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>All
          </td>
        </tr>

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

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

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

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

        <tr>
          <th>Component</th>
          <td>conf
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>fontconfig
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=93510" name="attach_93510" title="Fix test-migration.c for multipile target OS's">attachment 93510</a> <a href="attachment.cgi?id=93510&action=edit" title="Fix test-migration.c for multipile target OS's">[details]</a></span>
Fix test-migration.c for multipile target OS's

test-migration.c fails to build for me under both windows (mingw) and AIX. I
have seen reference to a patch for DT_DIR, and the attached patch is similar to
that fix.
I get compile errors for mkdtemp() - prototype not defined to mingw or aix.
I get compile errors for setenv() - prototype not defined to mingw but exists
in aix.


With the attached patch, I can compile on aix, windows and linux.

Note the base version for this diff is fontconfig-2.11.0.</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>