aboutsummaryrefslogtreecommitdiffstats
path: root/audio/lmms/files
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2010-09-03 17:38:53 +0800
committerpav <pav@FreeBSD.org>2010-09-03 17:38:53 +0800
commit037c845baf844d6b5c0c4efcd22bfedc8df941e7 (patch)
treea8c11812083bed82ef87b9935c936c3e4b6bc178 /audio/lmms/files
parent7485e5adfc94aaf15801c95e1a4242590331d000 (diff)
downloadfreebsd-ports-gnome-037c845baf844d6b5c0c4efcd22bfedc8df941e7.tar.gz
freebsd-ports-gnome-037c845baf844d6b5c0c4efcd22bfedc8df941e7.tar.zst
freebsd-ports-gnome-037c845baf844d6b5c0c4efcd22bfedc8df941e7.zip
- Unbreak on recent 8.X
- Grant maintainership to the submitter PR: ports/150205 Submitted by: Rodrigo OSORIO <rodrigo@bebik.net>
Diffstat (limited to 'audio/lmms/files')
-rw-r--r--audio/lmms/files/patch-plugins__zynaddsubfx__fltk__src__filename_list.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/lmms/files/patch-plugins__zynaddsubfx__fltk__src__filename_list.cxx b/audio/lmms/files/patch-plugins__zynaddsubfx__fltk__src__filename_list.cxx
index 9b9c04bc7dff..c3d171ab07eb 100644
--- a/audio/lmms/files/patch-plugins__zynaddsubfx__fltk__src__filename_list.cxx
+++ b/audio/lmms/files/patch-plugins__zynaddsubfx__fltk__src__filename_list.cxx
@@ -16,7 +16,7 @@
#ifndef HAVE_SCANDIR
int n = scandir(d, list, 0, sort);
-#elif defined(__hpux) || defined(__CYGWIN__) || (__GLIBC__ >= 2 && __GLIBC_MINOR__ >= 10 )
-+#elif defined(__hpux) || defined(__CYGWIN__) || (__GLIBC__ >= 2 && __GLIBC_MINOR__ >= 10 ) || (defined(__FreeBSD__) && __FreeBSD_version >= 900006)
++#elif defined(__hpux) || defined(__CYGWIN__) || (__GLIBC__ >= 2 && __GLIBC_MINOR__ >= 10 ) || (defined(__FreeBSD__) && ( (__FreeBSD_version < 900000 && __FreeBSD_version >= 800501) || (__FreeBSD_version >= 900006)))
// HP-UX, Cygwin and POSIX (2008) define the comparison function like this:
int n = scandir(d, list, 0, (int(*)(const dirent **, const dirent **))sort);
#elif defined(__osf__)