From 8f9d8347e1b335bbc0d797b4f9153c6453a24e74 Mon Sep 17 00:00:00 2001 From: Thomas Kahle Date: Tue, 9 Oct 2012 18:06:10 +0000 Subject: Fix building with gcc-4.7 (Bug 437742) (Portage version: 2.1.11.24/cvs/Linux x86_64) --- app-text/tesseract/ChangeLog | 6 ++++-- app-text/tesseract/tesseract-3.01.ebuild | 5 ++++- 2 files changed, 8 insertions(+), 3 deletions(-) (limited to 'app-text') diff --git a/app-text/tesseract/ChangeLog b/app-text/tesseract/ChangeLog index cc89767cbbe7..60fcac38e9c8 100644 --- a/app-text/tesseract/ChangeLog +++ b/app-text/tesseract/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-text/tesseract # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/tesseract/ChangeLog,v 1.31 2012/10/09 04:13:10 tomka Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/tesseract/ChangeLog,v 1.32 2012/10/09 18:06:10 tomka Exp $ + + 09 Oct 2012; Thomas Kahle tesseract-3.01.ebuild: + Fix building with gcc-4.7 (Bug 437742) *tesseract-3.01 (09 Oct 2012) @@ -140,4 +143,3 @@ +tesseract-1.02.02022007.ebuild: Initial commit, ebuild based on ebuild contributed by Dan Davis . Closes bug #146390. - diff --git a/app-text/tesseract/tesseract-3.01.ebuild b/app-text/tesseract/tesseract-3.01.ebuild index 3e30ecd2bc77..c5c330fb4d60 100644 --- a/app-text/tesseract/tesseract-3.01.ebuild +++ b/app-text/tesseract/tesseract-3.01.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/tesseract/tesseract-3.01.ebuild,v 1.1 2012/10/09 04:13:10 tomka Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/tesseract/tesseract-3.01.ebuild,v 1.2 2012/10/09 18:06:10 tomka Exp $ EAPI=4 @@ -73,6 +73,9 @@ src_prepare() { # remove obsolete makefile, install target only in uppercase Makefile rm "${S}/java/makefile" || die "remove obsolete java makefile failed" + epatch "${FILESDIR}/tesseract-2.04-gcc47.patch" + epatch_user + eautoreconf } -- cgit v1.2.3-65-gdbad