diff options
author | Pietro Cerutti <gahr@FreeBSD.org> | 2010-02-12 07:56:11 +0000 |
---|---|---|
committer | Pietro Cerutti <gahr@FreeBSD.org> | 2010-02-12 07:56:11 +0000 |
commit | 3e1f73cee561c85fe6ee36d4b5a56aa185d3a007 (patch) | |
tree | bfc3506e0a2bceeeeca7a6fb65ed5490c04d44c7 /x11-toolkits | |
parent | 8337f5d86b07518145dd5ada9074f84c60377601 (diff) | |
download | ports-3e1f73cee561c85fe6ee36d4b5a56aa185d3a007.tar.gz ports-3e1f73cee561c85fe6ee36d4b5a56aa185d3a007.zip |
Notes
Diffstat (limited to 'x11-toolkits')
-rw-r--r-- | x11-toolkits/fltk/files/patch-src_filename_list.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/x11-toolkits/fltk/files/patch-src_filename_list.cxx b/x11-toolkits/fltk/files/patch-src_filename_list.cxx index 2872c8fa4fc1..13a42cdf4686 100644 --- a/x11-toolkits/fltk/files/patch-src_filename_list.cxx +++ b/x11-toolkits/fltk/files/patch-src_filename_list.cxx @@ -5,7 +5,7 @@ #ifndef HAVE_SCANDIR int n = scandir(d, list, 0, sort); -#elif defined(__hpux) || defined(__CYGWIN__) -+#elif defined(__hpux) || defined(__CYGWIN__) || defined(__FreeBSD__) ++#elif defined(__hpux) || defined(__CYGWIN__) || (defined(__FreeBSD__) && __FreeBSD_version >= 900006) // HP-UX, Cygwin define the comparison function like this: int n = scandir(d, list, 0, (int(*)(const dirent **, const dirent **))sort); #elif defined(__osf__) |