summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-cpp/gnomemm/files/gnomemm-1.2.3-gcc33.patch')
-rw-r--r--dev-cpp/gnomemm/files/gnomemm-1.2.3-gcc33.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/dev-cpp/gnomemm/files/gnomemm-1.2.3-gcc33.patch b/dev-cpp/gnomemm/files/gnomemm-1.2.3-gcc33.patch
new file mode 100644
index 000000000000..5d00fe5f7dd7
--- /dev/null
+++ b/dev-cpp/gnomemm/files/gnomemm-1.2.3-gcc33.patch
@@ -0,0 +1,16 @@
+Index: src/gnome--/app-helper.h
+===================================================================
+RCS file: /cvs/gnome/gtk--/gnome--/gnome--/app-helper.h,v
+retrieving revision 1.25
+diff -u -r1.25 app-helper.h
+--- src/gnome--/app-helper.h 28 Jan 2003 18:40:27 -0000 1.25
++++ src/gnome--/app-helper.h 14 Sep 2003 07:52:13 -0000
+@@ -261,7 +261,7 @@
+ { return static_cast<T_Info&>(begin_[n]); }
+
+ GnomeUIInfo* gtkobj() const
+- { return static_cast<GnomeUIInfo*>(data_); }
++ { return (GnomeUIInfo*)(data_); }
+
+ vector<Info> make_return_vector(); //Used by get_uitree().
+ vector<SubTree> make_return_vector_subtrees(); //Used by Gnome::App.