wok-stable diff fltk-2.0.x/stuff/filename_list-dirent.patch @ rev 7382

add:firefox-langpack-zh_CN
author fireflyoo <lufeng369@gmail.com>
date Fri Nov 26 15:17:29 2010 +0000 (2010-11-26)
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	Fri Nov 26 15:17:29 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);