summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2015-12-31 12:42:11 +0100
committerPacho Ramos <pacho@gentoo.org>2015-12-31 12:42:11 +0100
commit91ecddb6c84583bc2839b5b510629880a763a045 (patch)
tree9e99a72b77996e96b8f5599e059a8561818daf6b /games-board/freedoko/files
parentx11-misc/easystroke: Fix building with latest glibmm/libsigc++ with ArchLinux... (diff)
downloadgentoo-91ecddb6c84583bc2839b5b510629880a763a045.tar.gz
gentoo-91ecddb6c84583bc2839b5b510629880a763a045.tar.bz2
gentoo-91ecddb6c84583bc2839b5b510629880a763a045.zip
games-board/freedoko: Fix building with latest glibmm/libsigc++ (#569530)
Package-Manager: portage-2.2.26
Diffstat (limited to 'games-board/freedoko/files')
-rw-r--r--games-board/freedoko/files/freedoko-0.7.13-libsigc26.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/games-board/freedoko/files/freedoko-0.7.13-libsigc26.patch b/games-board/freedoko/files/freedoko-0.7.13-libsigc26.patch
new file mode 100644
index 000000000000..2c356695c710
--- /dev/null
+++ b/games-board/freedoko/files/freedoko-0.7.13-libsigc26.patch
@@ -0,0 +1,36 @@
+--- src/ui/gtkmm/player.h 2015-11-17 14:04:43.251096876 +0100
++++ src/ui/gtkmm/player.h 2015-11-17 14:04:43.251096876 +0100
+@@ -36,7 +36,7 @@
+ #include "../../player/player.h"
+ typedef ::Player::Type PlayerType;
+
+-#include <sigc++/object.h>
++#include <sigc++/trackable.h>
+ namespace Gtk {
+ class Label;
+ class Button;
+
+--- src/ui/gtkmm/aiconfig.h 2015-11-17 14:04:43.251096876 +0100
++++ src/ui/gtkmm/aiconfig.h 2015-11-17 14:04:43.251096876 +0100
+@@ -36,7 +36,7 @@
+ #include "../../player/aiconfig.h"
+
+ #include "widgets/label_type_selector.h"
+-#include <sigc++/object.h>
++#include <sigc++/trackable.h>
+ #include <gtkmm/liststore.h>
+ namespace Gtk {
+ class VBox;
+
+--- src/player/ai/heuristics.cpp 2015-11-17 14:04:13.267766289 +0100
++++ src/player/ai/heuristics.cpp 2015-11-17 14:04:13.267766289 +0100
+@@ -2350,7 +2350,7 @@
+ && ( card.less(c)
+ || ( tpoints >= hi.value( Aiconfig::LIMITDOLLE )
+ && c.less(Card(Card::DIAMOND, Card::QUEEN))
+- && !hi.color_runs( t.startcard().color() ) < 1
++ && (hi.color_runs( t.startcard().color() ) > 0)
+ && !t.islastcard()
+ )
+ )
+