aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/efltk
diff options
context:
space:
mode:
authorsem <sem@FreeBSD.org>2007-01-28 23:14:55 +0800
committersem <sem@FreeBSD.org>2007-01-28 23:14:55 +0800
commitc4d7e19de718d2ab9ce9ef417b10ed0aab4f3a66 (patch)
tree6724ba4f021fdf656093a2036d85055480d9c4e7 /x11-toolkits/efltk
parent2d52bec5fdb814bbeb0b4a01d75b5be9a3c37674 (diff)
downloadfreebsd-ports-gnome-c4d7e19de718d2ab9ce9ef417b10ed0aab4f3a66.tar.gz
freebsd-ports-gnome-c4d7e19de718d2ab9ce9ef417b10ed0aab4f3a66.tar.zst
freebsd-ports-gnome-c4d7e19de718d2ab9ce9ef417b10ed0aab4f3a66.zip
- Fix build with gcc 4.1.
Reported by: kris mail
Diffstat (limited to 'x11-toolkits/efltk')
-rw-r--r--x11-toolkits/efltk/files/patch-efltk-Fl_Combo_Box.h13
-rw-r--r--x11-toolkits/efltk/files/patch-efltk-Fl_Text_Buffer.h11
2 files changed, 24 insertions, 0 deletions
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();