Hello, These are two patches that I wrote in order to compile VLC on Solaris 10 (sparc). They should be acceptable for other systems too. One is making shell scripts compatible with /bin/sh, and the other is working around missing dirfd, in a portable way. It tests for the function, and if it is not found, it defines a macro. A similar solution was already in the code, so I removed it and standardized on the macro.
The packaging work has been done for OpenCSW, I aim to produce an updated VLC package. The last build[1] is from 2004, so it really needs an update. Maciej [1] http://www.opencsw.org/packages/CSWvlc/ Maciej Blizinski (2): Bootstrap on Solaris Work around the lack of dirfd() bootstrap | 14 +++++++++++--- configure.ac | 2 ++ include/vlc_common.h | 6 ++++++ include/vlc_fixups.h | 7 +++++++ modules/access/directory.c | 11 ++--------- modules/genmf | 6 ++++-- modules/misc/gnutls.c | 2 +- src/misc/filesystem.c | 2 +- 8 files changed, 34 insertions(+), 16 deletions(-) -- 1.7.5.4 _______________________________________________ devel mailing list devel@lists.opencsw.org https://lists.opencsw.org/mailman/listinfo/devel