Bug 91088 - hard dependency on scandir
Summary: hard dependency on scandir
Status: RESOLVED MOVED
Alias: None
Product: fontconfig
Classification: Unclassified
Component: library (show other bugs)
Version: unspecified
Hardware: Other Solaris
: medium normal
Assignee: fontconfig-bugs
QA Contact: Behdad Esfahbod
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-24 19:11 UTC by Riccardo Mottola
Modified: 2018-08-20 21:48 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Riccardo Mottola 2015-06-24 19:11:19 UTC
Hi,

building on solaris 9 (and older) fails because the existing scandir() implementatino is inside the UCB layer (additional  -I and -L flags needed) but it is also slightly different in the parameters (direct vs. dirent). I couldn't get configure to pass, I don't even know about the code. Perhaps it can be done, but it is worth?

https://answers.yahoo.com/question/index?qid=1006050301563


Some other odd OSs apparently do not have scandir() available at all.

I propose to have a fallback version supplied to make fontconfig more portable.

E.g. look at this patch NetBSD applies in its portable package:

http://pkgsrc.se/files.php?messageId=20140715144835.1658296@cvs.netbsd.org

Instead of enabling for just one OS, perhaps it should be enabled it configure fails the test.

Thanks, Riccardo
Comment 1 Akira TAGOH 2015-06-25 02:48:00 UTC
version?
the latest should works with Solaris Studio compiler at least.
Comment 2 GitLab Migration User 2018-08-20 21:48:44 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/fontconfig/fontconfig/issues/61.


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.