summaryrefslogtreecommitdiff
path: root/office/gbgoffice/patches/05_gcc4.1.patch
diff options
context:
space:
mode:
Diffstat (limited to 'office/gbgoffice/patches/05_gcc4.1.patch')
-rw-r--r--office/gbgoffice/patches/05_gcc4.1.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/office/gbgoffice/patches/05_gcc4.1.patch b/office/gbgoffice/patches/05_gcc4.1.patch
new file mode 100644
index 0000000000..bf22f6453a
--- /dev/null
+++ b/office/gbgoffice/patches/05_gcc4.1.patch
@@ -0,0 +1,14 @@
+# Author: Damyan Ivanov <dmn@debian.org>
+# Description: fix methid declaration
+# GCC 4.1 brafs if it is fully qualified
+--- a/src/trayicon.h
++++ b/src/trayicon.h
+@@ -38,7 +38,7 @@ public:
+ TrayIcon(DictGui *win);
+ ~TrayIcon();
+
+- Gtk::Window *TrayIcon::getWindow();
++ Gtk::Window *getWindow();
+
+ private:
+ virtual bool on_button_press(GdkEventButton* event);