I'm trying to install fltk from ports ( i have updated the ports tree ) and get the following result:
I can't figure out what's wrong...any help?
Code:
# cd /usr/ports/x11-toolkits/fltk
# make install clean
===> Building for fltk-1.1.9_2
=== making src ===
Compiling filename_list.cxx...
filename_list.cxx: In function 'int fl_filename_list(const char*, dirent***, int (*)(dirent**, dirent**))':
filename_list.cxx:59: error: invalid conversion from 'int (*)(const dirent**, const dirent**)' to 'int (*)(const void*, const void*)'
filename_list.cxx:59: error: initializing argument 4 of 'int scandir(const char*, dirent***, int (*)(dirent*), int (*)(const void*, const void*))'
*** Error code 1
Stop in /usr/ports/x11-toolkits/fltk/work/fltk-1.1.9/src.
*** Error code 1
Stop in /usr/ports/x11-toolkits/fltk/work/fltk-1.1.9.
*** Error code 1
Stop in /usr/ports/x11-toolkits/fltk.
I can't figure out what's wrong...any help?