summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/fltk/fltk-1.1.9-gcc44.patch
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/fltk/fltk-1.1.9-gcc44.patch')
-rw-r--r--x11-toolkits/fltk/fltk-1.1.9-gcc44.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/x11-toolkits/fltk/fltk-1.1.9-gcc44.patch b/x11-toolkits/fltk/fltk-1.1.9-gcc44.patch
new file mode 100644
index 0000000000..0051306ebc
--- /dev/null
+++ b/x11-toolkits/fltk/fltk-1.1.9-gcc44.patch
@@ -0,0 +1,12 @@
+diff -up fltk-1.1.9/src/filename_list.cxx.gcc44 fltk-1.1.9/src/filename_list.cxx
+--- fltk-1.1.9/src/filename_list.cxx.gcc44 2006-06-09 11:16:34.000000000 -0500
++++ fltk-1.1.9/src/filename_list.cxx 2009-05-13 09:46:42.372917879 -0500
+@@ -67,7 +67,7 @@ int fl_filename_list(const char *d, dire
+ // 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:
+- int n = scandir(d, list, 0, (int(*)(const void*,const void*))sort);
++ int n = scandir(d, 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: