apply upstream patch for --addbook option to fix bug #563864

Package-Manager: portage-2.2.20.1
This commit is contained in:
Michael Sterrett
2015-10-23 11:10:31 -04:00
parent 7173aef928
commit 6bc7eceb6e
2 changed files with 12 additions and 0 deletions

View 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 )

View File

@@ -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