summaryrefslogtreecommitdiff
path: root/games-board/freedoko/files/freedoko-0.7.13-libsigc26.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /games-board/freedoko/files/freedoko-0.7.13-libsigc26.patch
reinit the tree, so we can have metadata
Diffstat (limited to 'games-board/freedoko/files/freedoko-0.7.13-libsigc26.patch')
-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()
+ )
+ )
+