Skip to content

Commit

Permalink
apply upstream patch for --addbook option to fix bug #563864
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.2.20.1
  • Loading branch information
Michael Sterrett committed Oct 23, 2015
1 parent 7173aef commit 6bc7ece
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
10 changes: 10 additions & 0 deletions games-board/gnuchess/files/gnuchess-6.2.2-addbook.patch
Original file line number Diff line number Diff line change
@@ -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 )
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ LICENSE="GPL-3"
SLOT="0"
IUSE=""

PATCHES=( "${FILESDIR}"/${P}-addbook.patch )

src_configure() {
strip-flags # bug #199097
egamesconf --without-readline # bug 491088
Expand Down

0 comments on commit 6bc7ece

Please sign in to comment.