diff options
author | Pietro Cerutti <gahr@FreeBSD.org> | 2008-09-15 18:10:26 +0000 |
---|---|---|
committer | Pietro Cerutti <gahr@FreeBSD.org> | 2008-09-15 18:10:26 +0000 |
commit | 4a30b77282e1bfbcac04d0b1421467cb2e62ee89 (patch) | |
tree | 1c50a20a5840378409e418e443123785f253a6b5 /games/znibbles/files/patch-src::GTK::Menus.C | |
parent | - Add missing xorg depend (diff) |
- Fix build on 64-bits platforms
- UNBREAK on amd64, GCC4.2
Approved by: portmgr (erwin)
Diffstat (limited to '')
-rw-r--r-- | games/znibbles/files/patch-src::GTK::Menus.C | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/games/znibbles/files/patch-src::GTK::Menus.C b/games/znibbles/files/patch-src::GTK::Menus.C new file mode 100644 index 000000000000..3ea74f6315f0 --- /dev/null +++ b/games/znibbles/files/patch-src::GTK::Menus.C @@ -0,0 +1,11 @@ +--- src/GTK/Menus.C.orig 2008-09-15 17:23:52.000000000 +0000 ++++ src/GTK/Menus.C 2008-09-15 17:25:14.000000000 +0000 +@@ -61,7 +61,7 @@ + // Obligatory basic callback + void Menus::menu_callback_static(gpointer data, gpointer action, GtkWidget *w) { + +- switch((gint) action) { ++ switch((gulong)action) { + case ItemFileOther: + Menus::_interface->activate_other_player(); + gtk_widget_set_sensitive(w, FALSE); |