summaryrefslogtreecommitdiffstats
path: root/extra/efltk/efltk-2.0.8-filename-0.1.patch
diff options
context:
space:
mode:
Diffstat (limited to 'extra/efltk/efltk-2.0.8-filename-0.1.patch')
-rw-r--r--extra/efltk/efltk-2.0.8-filename-0.1.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/extra/efltk/efltk-2.0.8-filename-0.1.patch b/extra/efltk/efltk-2.0.8-filename-0.1.patch
new file mode 100644
index 000000000..749bb3e3a
--- /dev/null
+++ b/extra/efltk/efltk-2.0.8-filename-0.1.patch
@@ -0,0 +1,11 @@
+--- efltk/src/core/filename_list.cpp.original 2009-12-14 15:18:41.000000000 +0100
++++ efltk/src/core/filename_list.cpp 2009-12-14 15:19:42.000000000 +0100
+@@ -59,7 +59,7 @@
+ // The vast majority of Unix systems want the sort function to have this
+ // prototype, most likely so that it can be passed to qsort without any
+ // changes:
+- return scandir(dir, list, 0, (int(*)(const void*,const void*))sort);
++ return scandir(dir, list, 0, (int(*)(const dirent **,const dirent **))sort);
+ #else
+ // This version is when we define our own scandir (WIN32 and perhaps
+ // some Unix systems) and apparently on Irix: