mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Fix build with new gcc 4.x
Obtained from: gentoo Reported by: kris via pointyhat
This commit is contained in:
parent
bbe3bbc824
commit
75b954694d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=179864
1 changed files with 37 additions and 0 deletions
37
x11-toolkits/gtkmm12/files/patch-gcc41
Normal file
37
x11-toolkits/gtkmm12/files/patch-gcc41
Normal file
|
@ -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);
|
Loading…
Add table
Reference in a new issue