commit: aec2ea4dc24605b4f334e04aad81f9a2976ea012 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> AuthorDate: Wed Jan 29 21:05:27 2020 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Wed Jan 29 21:05:50 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aec2ea4d
app-editors/teco: Fix compilation with -fno-common. Closes:https://bugs.gentoo.org/707300 Package-Manager: Portage-2.3.85, Repoman-2.3.20 Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> app-editors/teco/files/teco-no-common.patch | 13 +++++++++++++ app-editors/teco/teco-36_p19940820.ebuild | 3 ++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/app-editors/teco/files/teco-no-common.patch b/app-editors/teco/files/teco-no-common.patch new file mode 100644 index 00000000000..18880579e37 --- /dev/null +++ b/app-editors/teco/files/teco-no-common.patch @@ -0,0 +1,13 @@ +https://bugs.gentoo.org/707300 + +--- teco-orig/te_subs.c ++++ teco/te_subs.c +@@ -249,8 +249,6 @@ + /* leaves bb pointing to end of that text */ + /* insert2() copies rest of buffer */ + +-struct buffcell *insert_p; +- + insert1() + { + int nchars; /* number of chars in cell */ diff --git a/app-editors/teco/teco-36_p19940820.ebuild b/app-editors/teco/teco-36_p19940820.ebuild index 4f297c28958..4dd048a4f2d 100644 --- a/app-editors/teco/teco-36_p19940820.ebuild +++ b/app-editors/teco/teco-36_p19940820.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -25,6 +25,7 @@ PATCHES=( "${FILESDIR}"/${PN}-double-free.patch "${FILESDIR}"/${PN}-gcc4.patch "${FILESDIR}"/${PN}-warnings.patch + "${FILESDIR}"/${PN}-no-common.patch ) src_prepare() {
