Gentoo Archives: gentoo-commits

From: Michael Palimaka <kensington@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/jfbterm/files/, app-i18n/jfbterm/
Date: Sun, 12 Feb 2017 11:36:22
Message-Id: 1486899364.f3ff448671e8102de87143905d9b847362f15997.kensington@gentoo
1 commit: f3ff448671e8102de87143905d9b847362f15997
2 Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 12 11:35:48 2017 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 12 11:36:04 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3ff4486
7
8 app-i18n/jfbterm: add patch from Fedora fixing build with gcc-5
9
10 Gentoo-bug: 571066
11
12 Package-Manager: Portage-2.3.3, Repoman-2.3.1
13
14 .../files/jfbterm-0.4.7-wrong-inline-gcc5.patch | 24 ++++++++++++++++++++++
15 app-i18n/jfbterm/jfbterm-0.4.7-r4.ebuild | 3 ++-
16 2 files changed, 26 insertions(+), 1 deletion(-)
17
18 diff --git a/app-i18n/jfbterm/files/jfbterm-0.4.7-wrong-inline-gcc5.patch b/app-i18n/jfbterm/files/jfbterm-0.4.7-wrong-inline-gcc5.patch
19 new file mode 100644
20 index 0000000000..974ccbc413
21 --- /dev/null
22 +++ b/app-i18n/jfbterm/files/jfbterm-0.4.7-wrong-inline-gcc5.patch
23 @@ -0,0 +1,24 @@
24 +Source: http://pkgs.fedoraproject.org/cgit/rpms/jfbterm.git/plain/jfbterm-0.4.7-wrong-inline-gcc5.patch
25 +
26 +--- jfbterm-0.4.7/pen.c.inline_gcc5 2003-08-30 03:48:16.000000000 +0900
27 ++++ jfbterm-0.4.7/pen.c 2015-02-09 10:36:47.182751545 +0900
28 +@@ -62,7 +62,7 @@
29 + p->attr = q->attr;
30 + }
31 +
32 +-inline void tpen_off_all_attribute(TPen* p)
33 ++void tpen_off_all_attribute(TPen* p)
34 + {
35 + p->bcol = 0;
36 + p->fcol = 7;
37 +--- jfbterm-0.4.7/pen.h.inline_gcc5 2002-07-17 01:21:23.000000000 +0900
38 ++++ jfbterm-0.4.7/pen.h 2015-02-09 10:36:52.058705503 +0900
39 +@@ -58,7 +58,7 @@
40 + void tpen_init(TPen* p);
41 + void tpen_final(TPen* p);
42 + void tpen_copy(TPen* p, TPen* q);
43 +-inline void tpen_off_all_attribute(TPen* p);
44 ++void tpen_off_all_attribute(TPen* p);
45 + void tpen_higlight(TPen* p);
46 + void tpen_dehiglight(TPen* p);
47 + void tpen_underline(TPen* p);
48
49 diff --git a/app-i18n/jfbterm/jfbterm-0.4.7-r4.ebuild b/app-i18n/jfbterm/jfbterm-0.4.7-r4.ebuild
50 index a1266429d3..b79f0ff20b 100644
51 --- a/app-i18n/jfbterm/jfbterm-0.4.7-r4.ebuild
52 +++ b/app-i18n/jfbterm/jfbterm-0.4.7-r4.ebuild
53 @@ -1,4 +1,4 @@
54 -# Copyright 1999-2009 Gentoo Foundation
55 +# Copyright 1999-2017 Gentoo Foundation
56 # Distributed under the terms of the GNU General Public License v2
57 # $Id$
58
59 @@ -24,6 +24,7 @@ src_unpack() {
60 epatch "${FILESDIR}/${P}-sigchld-debian.patch"
61 epatch "${FILESDIR}/${P}-no-kernel-headers.patch"
62 epatch "${FILESDIR}/${P}-gentoo.patch"
63 + epatch "${FILESDIR}/${P}-wrong-inline-gcc5.patch"
64
65 eautoreconf
66 }