forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
freedoko-0.7.13-libsigc26.patch
36 lines (31 loc) · 1.18 KB
/
freedoko-0.7.13-libsigc26.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
--- 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()
)
)