commit:     0dfa9a21a1586d6b3df25f86f9f5ab8d0c229945
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 25 12:03:22 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Fri Dec 25 12:08:04 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0dfa9a21

app-misc/birthday: Fix test failures

Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=568930

Package-Manager: portage-2.2.26
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 app-misc/birthday/birthday-1.6.2.ebuild | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/app-misc/birthday/birthday-1.6.2.ebuild 
b/app-misc/birthday/birthday-1.6.2.ebuild
index 600b935..c8f79f8 100644
--- a/app-misc/birthday/birthday-1.6.2.ebuild
+++ b/app-misc/birthday/birthday-1.6.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -18,8 +18,12 @@ src_unpack() {
        cd "${S}"
 
        # Don't strip, install in correct share dir and respect CFLAGS
-       sed -i -e "s:install -s:install:g" -e "s:#SHARE:SHARE:g" -e 
"s:-O2:${CFLAGS}:g" \
-               Makefile || die
+       sed \
+               -e "s:install -s:install:g" -e "s:#SHARE:SHARE:g" -e 
"s:-O2:${CFLAGS}:g" \
+               -i Makefile || die
+       sed \
+               -e 's:grep -v:grep --binary-files=text -v:g' \
+               -i runtest.sh || die
 }
 
 src_compile() {

Reply via email to