Bug 74606 - Build of test-migration.c fails on both windows and AIX
Summary: Build of test-migration.c fails on both windows and AIX
Status: RESOLVED FIXED
Alias: None
Product: fontconfig
Classification: Unclassified
Component: conf (show other bugs)
Version: unspecified
Hardware: All All
: medium normal
Assignee: fontconfig-bugs
QA Contact: Behdad Esfahbod
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-06 08:21 UTC by Dirk
Modified: 2014-02-06 11:39 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Fix test-migration.c for multipile target OS's (1.60 KB, text/plain)
2014-02-06 08:21 UTC, Dirk
Details
Full copy of the changed source to allow for changes after release 2.11.0 (3.88 KB, text/plain)
2014-02-06 08:29 UTC, Dirk
Details

Description Dirk 2014-02-06 08:21:39 UTC
Created attachment 93510 [details]
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.
Comment 1 Dirk 2014-02-06 08:29:18 UTC
Created attachment 93511 [details]
Full copy of the changed source to allow for changes after release 2.11.0
Comment 2 Akira TAGOH 2014-02-06 08:47:39 UTC
Try git first. this build has been disabled for win32 because this migration won't happens there. and DT_DIR thing is ifdef'd. so should works on even AIX.

Anyway, try git first.
Comment 3 Dirk 2014-02-06 11:39:48 UTC
100%, the git source (from "master" tree) compiles cleanly on AIX!

Thanks.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.