Gentoo Archives: gentoo-commits

From: Fabian Groffen <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-shells/tcsh/, app-shells/tcsh/files/
Date: Sun, 26 Jan 2020 08:45:29
Message-Id: 1580028318.de0c24161e6a2e4bdf83040268064b0b65df28c4.grobian@gentoo
1 commit: de0c24161e6a2e4bdf83040268064b0b65df28c4
2 Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 26 08:45:00 2020 +0000
4 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 26 08:45:18 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de0c2416
7
8 app-shells/tcsh-6.21.00-r1: fix compilation with GCC 10/-fno-common
9
10 Closes: https://bugs.gentoo.org/706316
11 Package-Manager: Portage-2.3.84, Repoman-2.3.20
12 Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
13
14 .../tcsh/files/tcsh-6.21.00-fno-common.patch | 22 ++++++++++++++++++++++
15 ...{tcsh-6.21.00.ebuild => tcsh-6.21.00-r1.ebuild} | 3 ++-
16 2 files changed, 24 insertions(+), 1 deletion(-)
17
18 diff --git a/app-shells/tcsh/files/tcsh-6.21.00-fno-common.patch b/app-shells/tcsh/files/tcsh-6.21.00-fno-common.patch
19 new file mode 100644
20 index 00000000000..b5a0cf0600a
21 --- /dev/null
22 +++ b/app-shells/tcsh/files/tcsh-6.21.00-fno-common.patch
23 @@ -0,0 +1,22 @@
24 +From 6974bc35a5cda6eab748e364bd76a860ca66968b Mon Sep 17 00:00:00 2001
25 +From: zoulasc <christos@××××××.com>
26 +Date: Sat, 11 Jan 2020 11:16:51 -0500
27 +Subject: [PATCH] Remove extra variable definition that cause -fno-common build
28 + to fail (Werner Fink)
29 +
30 +---
31 + tc.sig.c | 1 -
32 + 1 file changed, 1 deletion(-)
33 +
34 +diff --git a/tc.sig.c b/tc.sig.c
35 +index 77659ca..576605a 100644
36 +--- a/tc.sig.c
37 ++++ b/tc.sig.c
38 +@@ -56,7 +56,6 @@ int alrmcatch_disabled; /* = 0; */
39 + int phup_disabled; /* = 0; */
40 + int pchild_disabled; /* = 0; */
41 + int pintr_disabled; /* = 0; */
42 +-int handle_interrupt; /* = 0; */
43 +
44 + int
45 + handle_pending_signals(void)
46
47 diff --git a/app-shells/tcsh/tcsh-6.21.00.ebuild b/app-shells/tcsh/tcsh-6.21.00-r1.ebuild
48 similarity index 96%
49 rename from app-shells/tcsh/tcsh-6.21.00.ebuild
50 rename to app-shells/tcsh/tcsh-6.21.00-r1.ebuild
51 index 8085148f47f..8adadc2e6cc 100644
52 --- a/app-shells/tcsh/tcsh-6.21.00.ebuild
53 +++ b/app-shells/tcsh/tcsh-6.21.00-r1.ebuild
54 @@ -1,4 +1,4 @@
55 -# Copyright 1999-2019 Gentoo Authors
56 +# Copyright 1999-2020 Gentoo Authors
57 # Distributed under the terms of the GNU General Public License v2
58
59 EAPI=6
60 @@ -34,6 +34,7 @@ PATCHES=(
61 "${FILESDIR}"/${PN}-6.18.01-aix.patch
62 "${FILESDIR}"/${PN}-6.21.00-no-nls.patch
63 "${FILESDIR}"/${PN}-6.21.00-use-ncurses.patch
64 + "${FILESDIR}"/${PN}-6.21.00-fno-common.patch # upstream
65 )
66
67 src_prepare() {