aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2010-02-25 21:36:59 +0800
committergahr <gahr@FreeBSD.org>2010-02-25 21:36:59 +0800
commit3bf11da0e2d24211b6651f245922ff205350e9f2 (patch)
treef4681ecca24c4fd030e25e50a82bf78b3f464f71 /x11-toolkits
parent6459fbb1ac7a9b84735afc1d87898554daca6e28 (diff)
downloadfreebsd-ports-gnome-3bf11da0e2d24211b6651f245922ff205350e9f2.tar.gz
freebsd-ports-gnome-3bf11da0e2d24211b6651f245922ff205350e9f2.tar.zst
freebsd-ports-gnome-3bf11da0e2d24211b6651f245922ff205350e9f2.zip
- Fix on 7.3 (dirent API change)
Reported by: PH via linimon@ Feature safe: yes
Diffstat (limited to 'x11-toolkits')
-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 5490178a4357..3efbc8c66589 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)))
++#elif defined(__hpux) || defined(__CYGWIN__) || (defined(__FreeBSD__) && (__FreeBSD_version >= 900006 || (__FreeBSD_version >= 800501 && __FreeBSD_version < 900000) || (__FreeBSD_version >= 730000)))
// HP-UX, Cygwin define the comparison function like this:
int n = scandir(d, list, 0, (int(*)(const dirent **, const dirent **))sort);
#elif defined(__osf__)