summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-board/gnuchess/files/gnuchess-6.2.2-addbook.patch')
-rw-r--r--games-board/gnuchess/files/gnuchess-6.2.2-addbook.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/games-board/gnuchess/files/gnuchess-6.2.2-addbook.patch b/games-board/gnuchess/files/gnuchess-6.2.2-addbook.patch
new file mode 100644
index 000000000000..21b3dc3dd26b
--- /dev/null
+++ b/games-board/gnuchess/files/gnuchess-6.2.2-addbook.patch
@@ -0,0 +1,10 @@
+--- trunk/src/main.cc 2015/10/17 13:52:22 127
++++ trunk/src/main.cc 2015/10/18 17:28:56 128
+@@ -412,6 +412,7 @@
+ char data[9+MAXSTR+1+4]="";
+ sprintf( data, "book add %s\nquit", opt_addbook );
+ SendToEngine( data );
++ SET (flags, QUIT);
+ }
+
+ if ( opt_easy == 0 )