From c6feadf5e72b3c9a901ba0953c7e3b7f7e17c4cc Mon Sep 17 00:00:00 2001 From: Akinori Hattori Date: Sun, 17 Dec 2017 18:06:53 +0900 Subject: app-text/crf++: fix build with sys-devel/automake-1.13 Closes: https://bugs.gentoo.org/467604 Package-Manager: Portage-2.3.13, Repoman-2.3.4 --- app-text/crf++/crf++-0.54.ebuild | 1 + app-text/crf++/crf++-0.58.ebuild | 4 +++- app-text/crf++/files/crf++-automake-1.13.patch | 10 ++++++++++ 3 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 app-text/crf++/files/crf++-automake-1.13.patch (limited to 'app-text/crf++') diff --git a/app-text/crf++/crf++-0.54.ebuild b/app-text/crf++/crf++-0.54.ebuild index e282ca87c965..3a48217d2796 100644 --- a/app-text/crf++/crf++-0.54.ebuild +++ b/app-text/crf++/crf++-0.54.ebuild @@ -22,6 +22,7 @@ src_prepare() { -e "/CXXFLAGS/s/-O3/${CXXFLAGS}/" \ configure.in || die + epatch "${FILESDIR}"/${PN}-automake-1.13.patch epatch "${FILESDIR}"/${P}-c++11.patch # bug #365921 epatch "${FILESDIR}/${P}-gcc46.patch" diff --git a/app-text/crf++/crf++-0.58.ebuild b/app-text/crf++/crf++-0.58.ebuild index 7518e894e2e9..63fcdca38b66 100644 --- a/app-text/crf++/crf++-0.58.ebuild +++ b/app-text/crf++/crf++-0.58.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI="3" @@ -22,6 +22,8 @@ src_prepare() { -e "/CXXFLAGS/s/-O3/${CXXFLAGS}/" \ configure.in || die + epatch "${FILESDIR}"/${PN}-automake-1.13.patch + eautoreconf } diff --git a/app-text/crf++/files/crf++-automake-1.13.patch b/app-text/crf++/files/crf++-automake-1.13.patch new file mode 100644 index 000000000000..afff7edc0707 --- /dev/null +++ b/app-text/crf++/files/crf++-automake-1.13.patch @@ -0,0 +1,10 @@ +--- a/configure.in ++++ b/configure.in +@@ -240,6 +240,6 @@ + AC_MSG_RESULT([yes]) + + AC_SUBST(datarootdir) +-AM_CONFIG_HEADER(config.h) ++AC_CONFIG_HEADERS(config.h) + AC_OUTPUT([Makefile Makefile.msvc swig/version.h]) + -- cgit v1.2.3-65-gdbad