summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2018-12-07 23:27:13 +0100
committerAndreas K. Hüttel <dilfridge@gentoo.org>2018-12-07 23:27:30 +0100
commit6ffd17d07108d43117d5b14594b98a70fdd62774 (patch)
treed0cf6f8a7dd042ad72676407dd05e490ee884a09 /media-gfx
parentmail-client/thunderbird-60.3.3-r1: fix gdata-provider (diff)
downloadgentoo-6ffd17d07108d43117d5b14594b98a70fdd62774.tar.gz
gentoo-6ffd17d07108d43117d5b14594b98a70fdd62774.tar.bz2
gentoo-6ffd17d07108d43117d5b14594b98a70fdd62774.zip
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@gentoo.org>
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/gnuclad/files/gnuclad-0.2.4-werror.patch9
-rw-r--r--media-gfx/gnuclad/gnuclad-0.2.4.ebuild13
2 files changed, 21 insertions, 1 deletions
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 000000000000..b8545d1d4cbc
--- /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 77b5f29236f9..9d9826b28d99 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