[oe-commits] Martin Jansa : efltk: add missing patch
git version control
git at git.openembedded.org
Fri Jan 15 09:28:18 UTC 2010
Module: openembedded.git
Branch: org.openembedded.dev
Commit: eb0805d926c8cf4c1f48d21ee9402786c3209df9
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=eb0805d926c8cf4c1f48d21ee9402786c3209df9
Author: Martin Jansa <Martin.Jansa at gmail.com>
Date: Fri Jan 15 10:26:18 2010 +0100
efltk: add missing patch
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
recipes/fltk/efltk/fix.void.cast.patch | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/recipes/fltk/efltk/fix.void.cast.patch b/recipes/fltk/efltk/fix.void.cast.patch
new file mode 100644
index 0000000..d66c77f
--- /dev/null
+++ b/recipes/fltk/efltk/fix.void.cast.patch
@@ -0,0 +1,15 @@
+From:
+http://sourceforge.net/projects/ede/forums/forum/249614/topic/3458921
+
+diff -uNr efltk.orig/src/core/filename_list.cpp efltk/src/core/filename_list.cpp
+--- efltk.orig/src/core/filename_list.cpp 2007-11-16 14:17:51.000000000 +0100
++++ efltk/src/core/filename_list.cpp 2010-01-15 01:03:59.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:
More information about the Openembedded-commits
mailing list