mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
apply upstream patch for --addbook option to fix bug #563864
Package-Manager: portage-2.2.20.1
This commit is contained in:
10
games-board/gnuchess/files/gnuchess-6.2.2-addbook.patch
Normal file
10
games-board/gnuchess/files/gnuchess-6.2.2-addbook.patch
Normal file
@@ -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 )
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user