wok-4.x diff fltk-2.0.x/stuff/filename_list-dirent.patch @ rev 6770
Added liboil to liboil-dev depends.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Oct 18 02:26:10 2010 +0000 (2010-10-18) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/fltk-2.0.x/stuff/filename_list-dirent.patch Mon Oct 18 02:26:10 2010 +0000 1.3 @@ -0,0 +1,11 @@ 1.4 +--- src/filename_list.cxx 2009-09-24 21:22:26.000000000 +0200 1.5 ++++ src/filename_list.cxx 2009-09-24 21:28:12.000000000 +0200 1.6 +@@ -63,7 +63,7 @@ 1.7 + // some Unix systems): 1.8 + int n = scandir(d, list, 0, sort); 1.9 + #elif defined(__linux) || defined (__FreeBSD__) || defined (__NetBSD__) 1.10 +- int n = scandir(d, list, 0, (int(*)(const void*,const void*))sort); 1.11 ++ int n = scandir(d, list, 0, (int(*)(const dirent **,const dirent **))sort); 1.12 + #elif defined(__hpux) || defined(__CYGWIN__) 1.13 + // HP-UX, Cygwin define the comparison function like this: 1.14 + int n = scandir(d, list, 0, (int(*)(const dirent **, const dirent **))sort);