summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Goller <morfic@gentoo.org>2005-11-30 07:23:19 +0000
committerDaniel Goller <morfic@gentoo.org>2005-11-30 07:23:19 +0000
commit7c977a6a20761432a09e1fcb3d43d823af0eba78 (patch)
tree9fa0814738c67170ac5d9bf986b2df4b111ed96c /dev-cpp/gtkmm/files/gtkmm-1.2.9-gcc4.patch
parentVersion bump + possible fix for bug #113925 (couldn't reproduce it) (diff)
downloadgentoo-2-7c977a6a20761432a09e1fcb3d43d823af0eba78.tar.gz
gentoo-2-7c977a6a20761432a09e1fcb3d43d823af0eba78.tar.bz2
gentoo-2-7c977a6a20761432a09e1fcb3d43d823af0eba78.zip
Adding gcc4 patch to allow compilation
(Portage version: 2.0.53_rc7)
Diffstat (limited to 'dev-cpp/gtkmm/files/gtkmm-1.2.9-gcc4.patch')
-rw-r--r--dev-cpp/gtkmm/files/gtkmm-1.2.9-gcc4.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/dev-cpp/gtkmm/files/gtkmm-1.2.9-gcc4.patch b/dev-cpp/gtkmm/files/gtkmm-1.2.9-gcc4.patch
new file mode 100644
index 000000000000..a5b52edaa818
--- /dev/null
+++ b/dev-cpp/gtkmm/files/gtkmm-1.2.9-gcc4.patch
@@ -0,0 +1,37 @@
+diff -ur gtkmm-1.2.9-orig/src/clist.gen_h gtkmm-1.2.9/src/clist.gen_h
+--- gtkmm-1.2.9-orig/src/clist.gen_h 2005-11-29 19:02:52.000000000 +0000
++++ gtkmm-1.2.9/src/clist.gen_h 2005-11-29 19:03:43.000000000 +0000
+@@ -60,8 +60,8 @@
+ class Cell
+ {
+ protected:
+- friend class CList;
++ friend class Gtk::CList;
+ friend class Row;
+
+ GtkCList *parent_;
+ GtkCListRow *row__;
+diff -ur gtkmm-1.2.9-orig/src/radiobutton.gen_h gtkmm-1.2.9/src/radiobutton.gen_h
+--- gtkmm-1.2.9-orig/src/radiobutton.gen_h 2005-11-29 19:02:52.000000000 +0000
++++ gtkmm-1.2.9/src/radiobutton.gen_h 2005-11-29 19:04:10.000000000 +0000
+@@ -36,7 +36,7 @@
+ //- It should not be called with new.
+ class Group
+ {
+- friend class RadioButton;
++ friend class Gtk::RadioButton;
+ GSList *group_;
+ void* operator new(size_t);
+ void add(RadioButton& item);
+diff -ur gtkmm-1.2.9-orig/src/radiomenuitem.gen_h gtkmm-1.2.9/src/radiomenuitem.gen_h
+--- gtkmm-1.2.9-orig/src/radiomenuitem.gen_h 2005-11-29 19:02:52.000000000 +0000
++++ gtkmm-1.2.9/src/radiomenuitem.gen_h 2005-11-29 19:04:22.000000000 +0000
+@@ -34,7 +34,7 @@
+ //- It should not be called with new.
+ class Group
+ {
+- friend class RadioMenuItem;
++ friend class Gtk::RadioMenuItem;
+ GSList *group_;
+ void* operator new(size_t);
+ void add(RadioMenuItem& item);