1 |
commit: 6ffd17d07108d43117d5b14594b98a70fdd62774 |
2 |
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Dec 7 22:27:13 2018 +0000 |
4 |
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Dec 7 22:27:30 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ffd17d0 |
7 |
|
8 |
media-gfx/gnuclad: Disable -Werror, bug 664130 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/664130 |
11 |
Package-Manager: Portage-2.3.52, Repoman-2.3.12 |
12 |
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org> |
13 |
|
14 |
media-gfx/gnuclad/files/gnuclad-0.2.4-werror.patch | 9 +++++++++ |
15 |
media-gfx/gnuclad/gnuclad-0.2.4.ebuild | 13 ++++++++++++- |
16 |
2 files changed, 21 insertions(+), 1 deletion(-) |
17 |
|
18 |
diff --git a/media-gfx/gnuclad/files/gnuclad-0.2.4-werror.patch b/media-gfx/gnuclad/files/gnuclad-0.2.4-werror.patch |
19 |
new file mode 100644 |
20 |
index 00000000000..b8545d1d4cb |
21 |
--- /dev/null |
22 |
+++ b/media-gfx/gnuclad/files/gnuclad-0.2.4-werror.patch |
23 |
@@ -0,0 +1,9 @@ |
24 |
+diff -ruN gnuclad-0.2.4.orig/src/Makefile.am gnuclad-0.2.4/src/Makefile.am |
25 |
+--- gnuclad-0.2.4.orig/src/Makefile.am 2011-01-07 19:28:05.000000000 +0100 |
26 |
++++ gnuclad-0.2.4/src/Makefile.am 2018-12-07 23:23:49.878123376 +0100 |
27 |
+@@ -18,4 +18,4 @@ |
28 |
+ |
29 |
+ CFLAGS = |
30 |
+ AM_CXXFLAGS = |
31 |
+-gnuclad_CPPFLAGS = -Wall -Wextra -Werror -pedantic-errors -ansi -O2 |
32 |
++gnuclad_CPPFLAGS = -Wall -Wextra -pedantic-errors -ansi |
33 |
|
34 |
diff --git a/media-gfx/gnuclad/gnuclad-0.2.4.ebuild b/media-gfx/gnuclad/gnuclad-0.2.4.ebuild |
35 |
index 77b5f29236f..9d9826b28d9 100644 |
36 |
--- a/media-gfx/gnuclad/gnuclad-0.2.4.ebuild |
37 |
+++ b/media-gfx/gnuclad/gnuclad-0.2.4.ebuild |
38 |
@@ -1,8 +1,10 @@ |
39 |
-# Copyright 1999-2017 Gentoo Foundation |
40 |
+# Copyright 1999-2018 Gentoo Authors |
41 |
# Distributed under the terms of the GNU General Public License v2 |
42 |
|
43 |
EAPI=6 |
44 |
|
45 |
+inherit autotools |
46 |
+ |
47 |
DESCRIPTION="Cladogram tree generator mainly used by the GNU/Linux distro timeline project" |
48 |
HOMEPAGE="https://launchpad.net/gnuclad/" |
49 |
SRC_URI="http://launchpad.net/gnuclad/trunk/0.2/+download/${P}.tar.gz" |
50 |
@@ -15,6 +17,15 @@ IUSE="examples" |
51 |
DEPEND="" |
52 |
RDEPEND="" |
53 |
|
54 |
+PATCHES=( |
55 |
+ "${FILESDIR}/${P}"-werror.patch |
56 |
+) |
57 |
+ |
58 |
+src_prepare() { |
59 |
+ default |
60 |
+ eautoreconf |
61 |
+} |
62 |
+ |
63 |
src_install() { |
64 |
default |