aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/fltk
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2010-02-12 07:56:11 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2010-02-12 07:56:11 +0000
commit3e1f73cee561c85fe6ee36d4b5a56aa185d3a007 (patch)
treebfc3506e0a2bceeeeca7a6fb65ed5490c04d44c7 /x11-toolkits/fltk
parent8337f5d86b07518145dd5ada9074f84c60377601 (diff)
downloadports-3e1f73cee561c85fe6ee36d4b5a56aa185d3a007.tar.gz
ports-3e1f73cee561c85fe6ee36d4b5a56aa185d3a007.zip
Notes
Diffstat (limited to 'x11-toolkits/fltk')
-rw-r--r--x11-toolkits/fltk/files/patch-src_filename_list.cxx2
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__)