[SM-Commit] GIT changes to master grimoire by Ladislav Hagara (436eb2002aa2a16c830a12f74976ba121dc2715b)

Ladislav Hagara scm at sourcemage.org
Sun Jun 7 16:43:16 EDT 2009


GIT changes to master grimoire by Ladislav Hagara <hgr at vabo.cz>:

 x11-toolkits/fltk/HISTORY                |    4 ++++
 x11-toolkits/fltk/PRE_BUILD              |    3 +++
 x11-toolkits/fltk/fltk-1.1.9-gcc44.patch |   12 ++++++++++++
 3 files changed, 19 insertions(+)

New commits:
commit 436eb2002aa2a16c830a12f74976ba121dc2715b
Author: Ladislav Hagara <hgr at vabo.cz>
Commit: Ladislav Hagara <hgr at vabo.cz>

    fltk: glibc 2.10.1 problem fixed

diff --git a/x11-toolkits/fltk/HISTORY b/x11-toolkits/fltk/HISTORY
index a2111f0..6ab51c5 100644
--- a/x11-toolkits/fltk/HISTORY
+++ b/x11-toolkits/fltk/HISTORY
@@ -1,3 +1,7 @@
+2009-06-07 Ladislav Hagara <hgr at vabo.cz>
+	* PRE_BUILD, fltk-1.1.9-gcc44.patch: added patch due to glibc 2.10.1 from
+	  http://cvs.fedoraproject.org/viewvc/devel/fltk/
+
 2008-04-27 Treeve Jelbert <treeve at sourcemage.org>
 	* DETAILS: version 1.1.9
 
diff --git a/x11-toolkits/fltk/PRE_BUILD b/x11-toolkits/fltk/PRE_BUILD
new file mode 100755
index 0000000..a23a0c8
--- /dev/null
+++ b/x11-toolkits/fltk/PRE_BUILD
@@ -0,0 +1,3 @@
+default_pre_build &&
+cd $SOURCE_DIRECTORY &&
+patch -p1 < $SPELL_DIRECTORY/fltk-1.1.9-gcc44.patch
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 0000000..0051306
--- /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:



More information about the SM-Commit mailing list