From b7f5cb19c081e3dcd73575e1d54e71d2adc9e090 Mon Sep 17 00:00:00 2001 From: Sergey Matveychuk Date: Sun, 28 Jan 2007 15:14:55 +0000 Subject: - Fix build with gcc 4.1. Reported by: kris mail --- x11-toolkits/efltk/files/patch-efltk-Fl_Combo_Box.h | 13 +++++++++++++ x11-toolkits/efltk/files/patch-efltk-Fl_Text_Buffer.h | 11 +++++++++++ 2 files changed, 24 insertions(+) create mode 100644 x11-toolkits/efltk/files/patch-efltk-Fl_Combo_Box.h create mode 100644 x11-toolkits/efltk/files/patch-efltk-Fl_Text_Buffer.h (limited to 'x11-toolkits') diff --git a/x11-toolkits/efltk/files/patch-efltk-Fl_Combo_Box.h b/x11-toolkits/efltk/files/patch-efltk-Fl_Combo_Box.h new file mode 100644 index 000000000000..71c215374bc6 --- /dev/null +++ b/x11-toolkits/efltk/files/patch-efltk-Fl_Combo_Box.h @@ -0,0 +1,13 @@ +--- efltk/Fl_Combo_Box.h.orig Sun Jan 28 17:54:29 2007 ++++ efltk/Fl_Combo_Box.h Sun Jan 28 17:54:45 2007 +@@ -23,8 +23,8 @@ + + void ctor_init(); + protected: +- static void Fl_Combo_Box::cb_browse(Fl_Widget *w, void *data); +- static void Fl_Combo_Box::cb_button(Fl_Widget *w, void *data); ++ static void cb_browse(Fl_Widget *w, void *data); ++ static void cb_button(Fl_Widget *w, void *data); + public: + static Fl_Named_Style* default_style; + diff --git a/x11-toolkits/efltk/files/patch-efltk-Fl_Text_Buffer.h b/x11-toolkits/efltk/files/patch-efltk-Fl_Text_Buffer.h new file mode 100644 index 000000000000..12b85a0b492e --- /dev/null +++ b/x11-toolkits/efltk/files/patch-efltk-Fl_Text_Buffer.h @@ -0,0 +1,11 @@ +--- efltk/Fl_Text_Buffer.h.orig Sun Jan 28 17:53:23 2007 ++++ efltk/Fl_Text_Buffer.h Sun Jan 28 17:53:30 2007 +@@ -78,7 +78,7 @@ + Fl_Text_Buffer(int requestedSize = 0); + ~Fl_Text_Buffer(); + +- char *Fl_Text_Buffer::static_buffer(); ++ char *static_buffer(); + + // Undo stack size: (default 50) + int undo_size(); -- cgit v1.2.3