wok-stable
annotate fltk/stuff/filename_list-dirent.patch @ rev 7196
Fix: ruby-gtk2: include Glade support for compatibility with Glade-created UIs. While still GTK-related, this is available only from the Ruby-GNOME source package, with no other implications.
author |
Ben Arnold <ben@seawolfsanctuary.com> |
date |
Tue Nov 09 09:57:16 2010 +0000 (2010-11-09) |
parents |
|
children |
|
rev |
line source |
pankso@4243
|
1 --- src/filename_list.cxx Thu Sep 24 21:32:52 2009
|
pankso@4243
|
2 +++ src/filename_list.cxx Thu Sep 24 21:35:20 2009
|
pankso@4243
|
3 @@ -67,7 +67,7 @@
|
pankso@4243
|
4 // The vast majority of UNIX systems want the sort function to have this
|
pankso@4243
|
5 // prototype, most likely so that it can be passed to qsort without any
|
pankso@4243
|
6 // changes:
|
pankso@4243
|
7 - int n = scandir(d, list, 0, (int(*)(const void*,const void*))sort);
|
pankso@4243
|
8 + int n = scandir(d, list, 0, (int(*)(const dirent **,const dirent **))sort);
|
pankso@4243
|
9 #else
|
pankso@4243
|
10 // This version is when we define our own scandir (WIN32 and perhaps
|
pankso@4243
|
11 // some Unix systems) and apparently on IRIX:
|