[vlc-devel] [PATCH 2/2] Work around the lack of dirfd()
Maciej (Matchek) Bliziński
maciej at opencsw.org
Tue Feb 28 14:49:44 CET 2012
2012/2/28 Rémi Denis-Courmont <remi at remlab.net>:
> On Tue, 28 Feb 2012 09:37:28 +0000, Maciej (Matchek) Bliziński
> <maciej at opencsw.org> wrote:
>> 2012/2/28 Brad Smith <brad at comstyle.com>:
>>> Solaris does not have posix_memalign(). This will help..
>>
>> I was thinking that a better approach would be to test for
>> posix_memalign and define it when missing. What do you think?
>
> It is not optional. Why would we test for something that is always there
> except on broken systems that we do not support?
Rémi,
Let's step back a bit. If you visit the VideoLAN website[1], you'll
see "Works on most platforms: Windows, Linux, Mac OS X, Unix..." on
the front page. I'm looking into building a VLC package for Solaris
10, which thanks to backward compatibility would bring it also to
Solaris 11 and OpenSolaris. If the effort is successful, that package
would become part of the OpenCSW package catalog[2]. Of course, I
could write a set of own unportable patches, but I'd much rather work
with the VLC developers to make the sources work on all platforms
including Solaris 10, without any need to do further patching. Does it
sound good to you, or do you have a different suggestion?
Maciej
[1] http://www.videolan.org/vlc/
[2] http://www.opencsw.org/
More information about the vlc-devel
mailing list