diff options
author | gahr <gahr@FreeBSD.org> | 2010-03-06 00:09:04 +0800 |
---|---|---|
committer | gahr <gahr@FreeBSD.org> | 2010-03-06 00:09:04 +0800 |
commit | 638734b03ac72abd78c5301df47e88a930d4b8c8 (patch) | |
tree | d091465c114bc3a2b83f22f151cb7cae6ac707ce /x11-toolkits/fltk | |
parent | c1127cd4cde8b19fa73995d10dceb54743abb966 (diff) | |
download | freebsd-ports-graphics-638734b03ac72abd78c5301df47e88a930d4b8c8.tar.gz freebsd-ports-graphics-638734b03ac72abd78c5301df47e88a930d4b8c8.tar.zst freebsd-ports-graphics-638734b03ac72abd78c5301df47e88a930d4b8c8.zip |
- Fix build on 8.0-RELEASE after last commit
Reported by: Jan Henrik Sylvester <me@janh.de> via freebsd-questions@
Feature safe: yes
Diffstat (limited to 'x11-toolkits/fltk')
-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 3efbc8c6658..ae2ba6d8ea7 100644 --- a/x11-toolkits/fltk/files/patch-src_filename_list.cxx +++ b/x11-toolkits/fltk/files/patch-src_filename_list.cxx @@ -14,7 +14,7 @@ #ifndef HAVE_SCANDIR int n = scandir(d, list, 0, sort); -#elif defined(__hpux) || defined(__CYGWIN__) -+#elif defined(__hpux) || defined(__CYGWIN__) || (defined(__FreeBSD__) && (__FreeBSD_version >= 900006 || (__FreeBSD_version >= 800501 && __FreeBSD_version < 900000) || (__FreeBSD_version >= 730000))) ++#elif defined(__hpux) || defined(__CYGWIN__) || (defined(__FreeBSD__) && (__FreeBSD_version >= 900006 || (__FreeBSD_version >= 800501 && __FreeBSD_version < 900000) || (__FreeBSD_version >= 730000 && __FreeBSD_version < 800000))) // HP-UX, Cygwin define the comparison function like this: int n = scandir(d, list, 0, (int(*)(const dirent **, const dirent **))sort); #elif defined(__osf__) |