diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2009-05-11 17:00:00 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2009-05-11 17:00:00 +0000 |
commit | 602cf2ae1b6f6ac69867dcb8f1b12aabda225903 (patch) | |
tree | e43266f7ec41a3f1e8c52c014f2993b99799515c /app-text/tesseract/tesseract-2.03.ebuild | |
parent | old (diff) | |
download | gentoo-2-602cf2ae1b6f6ac69867dcb8f1b12aabda225903.tar.gz gentoo-2-602cf2ae1b6f6ac69867dcb8f1b12aabda225903.tar.bz2 gentoo-2-602cf2ae1b6f6ac69867dcb8f1b12aabda225903.zip |
Fix compile with GCC 4.4 wrt #269320, thanks to Jose daLuz and Victor Ostorga.
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'app-text/tesseract/tesseract-2.03.ebuild')
-rw-r--r-- | app-text/tesseract/tesseract-2.03.ebuild | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/app-text/tesseract/tesseract-2.03.ebuild b/app-text/tesseract/tesseract-2.03.ebuild index 922066f2b257..dbf736bba4d9 100644 --- a/app-text/tesseract/tesseract-2.03.ebuild +++ b/app-text/tesseract/tesseract-2.03.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/tesseract/tesseract-2.03.ebuild,v 1.6 2009/04/14 20:47:29 ranger Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/tesseract/tesseract-2.03.ebuild,v 1.7 2009/05/11 16:59:59 ssuominen Exp $ inherit eutils @@ -25,14 +25,15 @@ linguas_es linguas_pt linguas_vi" DEPEND="tiff? ( media-libs/tiff )" -S="${WORKDIR}/${P}" - src_unpack() { unpack ${A} cd "${S}" # Includes for gcc 4.3 - epatch "${FILESDIR}/includes.patch" || die + epatch "${FILESDIR}"/includes.patch + + # Includes for gcc 4.4 + epatch "${FILESDIR}"/${P}-gcc44.patch # Move language files mv -f "${WORKDIR}"/tessdata/* tessdata/ |