Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/teco/files/, app-editors/teco/
Date: Wed, 29 Jan 2020 21:06:04
Message-Id: 1580331950.aec2ea4dc24605b4f334e04aad81f9a2976ea012.ulm@gentoo
1 commit: aec2ea4dc24605b4f334e04aad81f9a2976ea012
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jan 29 21:05:27 2020 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 29 21:05:50 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aec2ea4d
7
8 app-editors/teco: Fix compilation with -fno-common.
9
10 Closes:https://bugs.gentoo.org/707300
11
12 Package-Manager: Portage-2.3.85, Repoman-2.3.20
13 Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
14
15 app-editors/teco/files/teco-no-common.patch | 13 +++++++++++++
16 app-editors/teco/teco-36_p19940820.ebuild | 3 ++-
17 2 files changed, 15 insertions(+), 1 deletion(-)
18
19 diff --git a/app-editors/teco/files/teco-no-common.patch b/app-editors/teco/files/teco-no-common.patch
20 new file mode 100644
21 index 00000000000..18880579e37
22 --- /dev/null
23 +++ b/app-editors/teco/files/teco-no-common.patch
24 @@ -0,0 +1,13 @@
25 +https://bugs.gentoo.org/707300
26 +
27 +--- teco-orig/te_subs.c
28 ++++ teco/te_subs.c
29 +@@ -249,8 +249,6 @@
30 + /* leaves bb pointing to end of that text */
31 + /* insert2() copies rest of buffer */
32 +
33 +-struct buffcell *insert_p;
34 +-
35 + insert1()
36 + {
37 + int nchars; /* number of chars in cell */
38
39 diff --git a/app-editors/teco/teco-36_p19940820.ebuild b/app-editors/teco/teco-36_p19940820.ebuild
40 index 4f297c28958..4dd048a4f2d 100644
41 --- a/app-editors/teco/teco-36_p19940820.ebuild
42 +++ b/app-editors/teco/teco-36_p19940820.ebuild
43 @@ -1,4 +1,4 @@
44 -# Copyright 1999-2019 Gentoo Authors
45 +# Copyright 1999-2020 Gentoo Authors
46 # Distributed under the terms of the GNU General Public License v2
47
48 EAPI=7
49 @@ -25,6 +25,7 @@ PATCHES=(
50 "${FILESDIR}"/${PN}-double-free.patch
51 "${FILESDIR}"/${PN}-gcc4.patch
52 "${FILESDIR}"/${PN}-warnings.patch
53 + "${FILESDIR}"/${PN}-no-common.patch
54 )
55
56 src_prepare() {