aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/guilib
diff options
context:
space:
mode:
authoracm <acm@FreeBSD.org>2007-04-17 14:39:16 +0800
committeracm <acm@FreeBSD.org>2007-04-17 14:39:16 +0800
commitb206ac2b71cbdfa9c81fe35bcef44c1f113ff287 (patch)
tree295bbcf1d5cac5f7a5ee53add983aa84ee31ec76 /graphics/guilib
parent56e849834a44fc1172d6db09b3e33b7bc2a808f6 (diff)
downloadfreebsd-ports-gnome-b206ac2b71cbdfa9c81fe35bcef44c1f113ff287.tar.gz
freebsd-ports-gnome-b206ac2b71cbdfa9c81fe35bcef44c1f113ff287.tar.zst
freebsd-ports-gnome-b206ac2b71cbdfa9c81fe35bcef44c1f113ff287.zip
- Fix build with gcc 4.x
Reported by: kris
Diffstat (limited to 'graphics/guilib')
-rw-r--r--graphics/guilib/files/patch-GUI_menu.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/graphics/guilib/files/patch-GUI_menu.h b/graphics/guilib/files/patch-GUI_menu.h
new file mode 100644
index 000000000000..9243ba2b73c5
--- /dev/null
+++ b/graphics/guilib/files/patch-GUI_menu.h
@@ -0,0 +1,15 @@
+--- GUI_menu.h Tue Apr 17 00:16:46 2007
++++ GUI_menu.h Tue Apr 17 00:17:29 2007
+@@ -39,9 +39,9 @@
+ virtual void AddSubitem(GUI_Menuitem *newitem);
+ virtual GUI_Menuitem* GetSubItem(int Aid);
+
+- GUI_status GUI_Submenu:: MouseDown(int x, int y, int button);
+- GUI_status GUI_Submenu::MouseUp(int x,int y,int button);
+- GUI_status GUI_Submenu::MouseMotion(int x,int y,Uint8 state);
++ GUI_status MouseDown(int x, int y, int button);
++ GUI_status MouseUp(int x,int y,int button);
++ GUI_status MouseMotion(int x,int y,Uint8 state);
+
+ inline virtual int GetSubmenuId()
+ {return submenuid;}