diff options
author | ahze <ahze@FreeBSD.org> | 2006-12-16 02:42:52 +0800 |
---|---|---|
committer | ahze <ahze@FreeBSD.org> | 2006-12-16 02:42:52 +0800 |
commit | e1ba14a5fc7466f3ca52ca3c263f2d00ee43a72f (patch) | |
tree | 982c9c9b3da49cc22b16de1cf6b46dadf9baa6b0 /x11-toolkits/gtkmm12 | |
parent | 760db551e1ae2e0536132a64ebcc0247fce8bdc7 (diff) | |
download | freebsd-ports-gnome-e1ba14a5fc7466f3ca52ca3c263f2d00ee43a72f.tar.gz freebsd-ports-gnome-e1ba14a5fc7466f3ca52ca3c263f2d00ee43a72f.tar.zst freebsd-ports-gnome-e1ba14a5fc7466f3ca52ca3c263f2d00ee43a72f.zip |
Fix build with new gcc 4.x
Obtained from: gentoo
Reported by: kris via pointyhat
Diffstat (limited to 'x11-toolkits/gtkmm12')
-rw-r--r-- | x11-toolkits/gtkmm12/files/patch-gcc41 | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/x11-toolkits/gtkmm12/files/patch-gcc41 b/x11-toolkits/gtkmm12/files/patch-gcc41 new file mode 100644 index 000000000000..a9447c69d3c6 --- /dev/null +++ b/x11-toolkits/gtkmm12/files/patch-gcc41 @@ -0,0 +1,37 @@ +diff -ur src/clist.gen_h src/clist.gen_h +--- src/clist.gen_h 2005-11-29 19:02:52.000000000 +0000 ++++ 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 src/radiobutton.gen_h src/radiobutton.gen_h +--- src/radiobutton.gen_h 2005-11-29 19:02:52.000000000 +0000 ++++ 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 src/radiomenuitem.gen_h src/radiomenuitem.gen_h +--- src/radiomenuitem.gen_h 2005-11-29 19:02:52.000000000 +0000 ++++ 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); |