diff --git a/package/gnome14/gtkmm12/gtkmm-1.2.9-gcc4.patch b/package/gnome14/gtkmm12/gtkmm-1.2.9-gcc4.patch new file mode 100644 index 000000000..a5b52edaa --- /dev/null +++ b/package/gnome14/gtkmm12/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);