File Fix-fc-solve-misbehaving-preset.patch of Package kpat

From 56b4426d764c87d0c8b846b19e3fe6ca34775155 Mon Sep 17 00:00:00 2001
From: Shlomi Fish <shlomif@shlomifish.org>
Date: Mon, 11 Mar 2019 03:04:16 +0200
Subject: Fix fc-solve misbehaving preset.

Summary:
See https://bugs.kde.org/show_bug.cgi?id=405187 . Apparently
incrementally increasing the iterations limit does not play nice with
the freecell-solver's "flare"s feature.

slick-rock does not use flares but may yield somewhat longer solutions
than video-editing.

Reviewers: #kde_games

Subscribers: kde-games-devel

Differential Revision: https://phabricator.kde.org/D19671
---
 patsolve/freecellsolver.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/patsolve/freecellsolver.cpp b/patsolve/freecellsolver.cpp
index ebbe4e5..c96332e 100644
--- a/patsolve/freecellsolver.cpp
+++ b/patsolve/freecellsolver.cpp
@@ -288,7 +288,7 @@ int FreecellSolver::get_possible_moves(int *a, int *numout)
 
 static const char * freecell_solver_cmd_line_args[CMD_LINE_ARGS_NUM] =
 {
-    "--load-config", "video-editing"
+    "--load-config", "slick-rock"
 };
 
 int FreecellSolver::get_cmd_line_arg_count()
-- 
cgit v1.1
openSUSE Build Service is sponsored by