Skip to content

Commit

Permalink
app-accessibility/epos: EAPI bump and patch updates
Browse files Browse the repository at this point in the history
Bump EAPI to 6, and cleanup the patches a bit

Package-Manager: Portage-2.3.24, Repoman-2.3.6
Closes: gentoo#7589
  • Loading branch information
hanetzer authored and FuzzyGophers committed Mar 26, 2018
1 parent 6326de8 commit 3bd6347
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 18 deletions.
21 changes: 12 additions & 9 deletions app-accessibility/epos/epos-2.5.37-r2.ebuild
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=5
EAPI=6

inherit eutils autotools
inherit autotools

DESCRIPTION="language independent text-to-speech system"
HOMEPAGE="http://epos.ure.cas.cz/"
HOMEPAGE="http://epos.ufe.cz/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"

LICENSE="GPL-2"
Expand All @@ -18,12 +18,15 @@ DEPEND=">=app-text/sgmltools-lite-3.0.3-r9
dev-util/byacc"
RDEPEND=""

src_prepare() {
epatch "${FILESDIR}"/${P}-gcc43.patch \
"${FILESDIR}"/${P}-gcc45.patch \
"${FILESDIR}"/${P}-gcc47.patch \
"${FILESDIR}"/${P}-disable-tests.patch
PATCHES=(
"${FILESDIR}"/${PN}-2.5.37-gcc43.patch
"${FILESDIR}"/${PN}-2.5.37-gcc45.patch
"${FILESDIR}"/${PN}-2.5.37-gcc47.patch
"${FILESDIR}"/${PN}-2.5.37-disable-tests.patch
)

src_prepare() {
default
sed -i -e "s/CCC/#CCC/" configure.ac || die

eautoreconf
Expand Down
5 changes: 2 additions & 3 deletions app-accessibility/epos/files/epos-2.5.37-disable-tests.patch
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
diff -uNr epos-2.5.37.org/src/tests/Makefile.am epos-2.5.37/src/tests/Makefile.am
--- epos-2.5.37.org/src/tests/Makefile.am 2012-04-14 00:38:56.000000000 -0400
+++ epos-2.5.37/src/tests/Makefile.am 2012-04-14 00:39:10.000000000 -0400
--- a/src/tests/Makefile.am
+++ b/src/tests/Makefile.am
@@ -1,11 +1,9 @@
## Process this file with automake run in the top directory to yield Makefile.in

Expand Down
8 changes: 4 additions & 4 deletions app-accessibility/epos/files/epos-2.5.37-gcc43.patch
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--- epos-2.5.37.orig/src/nnet/neural.cc
+++ epos-2.5.37/src/nnet/neural.cc
--- a/src/nnet/neural.cc
+++ b/src/nnet/neural.cc
@@ -38,7 +38,7 @@
#include <string.h>
#include <ctype.h>
Expand All @@ -9,8 +9,8 @@
#include <time.h>

/*
--- epos-2.5.37.orig/arch/win/service/install.cpp
+++ epos-2.5.37/arch/win/service/install.cpp
--- a/arch/win/service/install.cpp
+++ b/arch/win/service/install.cpp
@@ -23,7 +23,7 @@
#include <winsvc.h>
#include "service.h"
Expand Down
4 changes: 2 additions & 2 deletions app-accessibility/epos/files/epos-2.5.37-gcc45.patch
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ Fixing build with gcc 4.5

http://bugs.gentoo.org/show_bug.cgi?id=318585

--- src/nnet/neural_parse.yy
+++ src/nnet/neural_parse.yy
--- a/src/nnet/neural_parse.yy
+++ b/src/nnet/neural_parse.yy
@@ -255,7 +255,7 @@

int yyerror (char *s)
Expand Down

0 comments on commit 3bd6347

Please sign in to comment.