commit:     6ffd17d07108d43117d5b14594b98a70fdd62774
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Fri Dec  7 22:27:13 2018 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Fri Dec  7 22:27:30 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ffd17d0

media-gfx/gnuclad: Disable -Werror, bug 664130

Closes: https://bugs.gentoo.org/664130
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 media-gfx/gnuclad/files/gnuclad-0.2.4-werror.patch |  9 +++++++++
 media-gfx/gnuclad/gnuclad-0.2.4.ebuild             | 13 ++++++++++++-
 2 files changed, 21 insertions(+), 1 deletion(-)

diff --git a/media-gfx/gnuclad/files/gnuclad-0.2.4-werror.patch 
b/media-gfx/gnuclad/files/gnuclad-0.2.4-werror.patch
new file mode 100644
index 00000000000..b8545d1d4cb
--- /dev/null
+++ b/media-gfx/gnuclad/files/gnuclad-0.2.4-werror.patch
@@ -0,0 +1,9 @@
+diff -ruN gnuclad-0.2.4.orig/src/Makefile.am gnuclad-0.2.4/src/Makefile.am
+--- gnuclad-0.2.4.orig/src/Makefile.am 2011-01-07 19:28:05.000000000 +0100
++++ gnuclad-0.2.4/src/Makefile.am      2018-12-07 23:23:49.878123376 +0100
+@@ -18,4 +18,4 @@
+ 
+ CFLAGS =
+ AM_CXXFLAGS =
+-gnuclad_CPPFLAGS = -Wall -Wextra -Werror -pedantic-errors -ansi -O2
++gnuclad_CPPFLAGS = -Wall -Wextra -pedantic-errors -ansi

diff --git a/media-gfx/gnuclad/gnuclad-0.2.4.ebuild 
b/media-gfx/gnuclad/gnuclad-0.2.4.ebuild
index 77b5f29236f..9d9826b28d9 100644
--- a/media-gfx/gnuclad/gnuclad-0.2.4.ebuild
+++ b/media-gfx/gnuclad/gnuclad-0.2.4.ebuild
@@ -1,8 +1,10 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
+inherit autotools
+
 DESCRIPTION="Cladogram tree generator mainly used by the GNU/Linux distro 
timeline project"
 HOMEPAGE="https://launchpad.net/gnuclad/";
 SRC_URI="http://launchpad.net/gnuclad/trunk/0.2/+download/${P}.tar.gz";
@@ -15,6 +17,15 @@ IUSE="examples"
 DEPEND=""
 RDEPEND=""
 
+PATCHES=(
+       "${FILESDIR}/${P}"-werror.patch
+)
+
+src_prepare() {
+       default
+       eautoreconf
+}
+
 src_install() {
        default
 

Reply via email to