[Fontconfig-bugs] [Bug 91088] New: hard dependency on scandir

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jun 24 12:11:19 PDT 2015


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

            Bug ID: 91088
           Summary: hard dependency on scandir
           Product: fontconfig
           Version: unspecified
          Hardware: Other
                OS: Solaris
            Status: NEW
          Severity: normal
          Priority: medium
         Component: library
          Assignee: fontconfig-bugs at lists.freedesktop.org
          Reporter: multix at gmail.com
        QA Contact: freedesktop at behdad.org

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

-- 
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/20150624/411d498e/attachment.html>


More information about the Fontconfig-bugs mailing list