app-accessibility/epos: EAPI bump and patch updates
authorMarty E. Plummer <hanetzer@startmail.com>
Thu, 22 Mar 2018 12:48:19 +0000 (07:48 -0500)
committerAaron Bauman <bman@gentoo.org>
Mon, 26 Mar 2018 20:19:44 +0000 (16:19 -0400)
Bump EAPI to 6, and cleanup the patches a bit

Package-Manager: Portage-2.3.24, Repoman-2.3.6
Closes: https://github.com/gentoo/gentoo/pull/7589

app-accessibility/epos/epos-2.5.37-r2.ebuild
app-accessibility/epos/files/epos-2.5.37-disable-tests.patch
app-accessibility/epos/files/epos-2.5.37-gcc43.patch
app-accessibility/epos/files/epos-2.5.37-gcc45.patch

index 6f6c90eff6beb771db91cd1814f4916c20b9da53..65a83ff55fef1dabea9f38c010ac4cbba61c5e7b 100644 (file)
@@ -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"
@@ -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
index a877ca68486ba597be62045d42af7cdbd954a58a..7556e7995a15b6bdbafeeb129b908433bc4c39f9 100644 (file)
@@ -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
  
index 4a61b5ffd04ba1dbaaaf3190af7e9490f119de8b..c8b1dee857ad5384dbc91ada7c26196382e291dc 100644 (file)
@@ -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>
@@ -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"
index 70af1db94407a4810b1bc759236eb440792bd8d9..cbc056dded9f88c9c3e9bc54eb2cce0134e8550c 100644 (file)
@@ -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)