summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-shells
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-08-13 19:51:50 -0700
committerKhem Raj <raj.khem@gmail.com>2020-08-13 22:37:48 -0700
commitd23e9b96918c4c55d3c34f3ec78c74508e2f74b6 (patch)
tree9e2391aa851c77325ec406416b72c0dd1fce32c6 /meta-oe/recipes-shells
parentf5b604706fa947cb83c9dcb897cd3311070a78a0 (diff)
downloadmeta-openembedded-d23e9b96918c4c55d3c34f3ec78c74508e2f74b6.tar.gz
tcsh: Fix build with -fno-common
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-shells')
-rw-r--r--meta-oe/recipes-shells/tcsh/tcsh/0001-Remove-defining-handle_interrupt-twice.patch28
-rw-r--r--meta-oe/recipes-shells/tcsh/tcsh_6.22.02.bb1
2 files changed, 29 insertions, 0 deletions
diff --git a/meta-oe/recipes-shells/tcsh/tcsh/0001-Remove-defining-handle_interrupt-twice.patch b/meta-oe/recipes-shells/tcsh/tcsh/0001-Remove-defining-handle_interrupt-twice.patch
new file mode 100644
index 000000000..d6d6ae06d
--- /dev/null
+++ b/meta-oe/recipes-shells/tcsh/tcsh/0001-Remove-defining-handle_interrupt-twice.patch
@@ -0,0 +1,28 @@
1From 2c77b61506aa867a873e3691214983b3eb7f652d Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 13 Aug 2020 19:49:35 -0700
4Subject: [PATCH] Remove defining handle_interrupt twice
5
6Fixes build with -fno-common
7
8Upstream-Status: Pending
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11 tc.sig.c | 1 -
12 1 file changed, 1 deletion(-)
13
14diff --git a/tc.sig.c b/tc.sig.c
15index 77659ca..576605a 100644
16--- a/tc.sig.c
17+++ b/tc.sig.c
18@@ -56,7 +56,6 @@ int alrmcatch_disabled; /* = 0; */
19 int phup_disabled; /* = 0; */
20 int pchild_disabled; /* = 0; */
21 int pintr_disabled; /* = 0; */
22-int handle_interrupt; /* = 0; */
23
24 int
25 handle_pending_signals(void)
26--
272.28.0
28
diff --git a/meta-oe/recipes-shells/tcsh/tcsh_6.22.02.bb b/meta-oe/recipes-shells/tcsh/tcsh_6.22.02.bb
index b30c3434e..541f5505f 100644
--- a/meta-oe/recipes-shells/tcsh/tcsh_6.22.02.bb
+++ b/meta-oe/recipes-shells/tcsh/tcsh_6.22.02.bb
@@ -12,6 +12,7 @@ SRC_URI = " \
12 https://astron.com/pub/${BPN}/${BP}.tar.gz \ 12 https://astron.com/pub/${BPN}/${BP}.tar.gz \
13 file://0001-Enable-system-malloc-on-all-linux.patch \ 13 file://0001-Enable-system-malloc-on-all-linux.patch \
14 file://0002-Add-debian-csh-scripts.patch \ 14 file://0002-Add-debian-csh-scripts.patch \
15 file://0001-Remove-defining-handle_interrupt-twice.patch \
15" 16"
16SRC_URI[md5sum] = "f34909eab33733aecc05d27adc82277b" 17SRC_URI[md5sum] = "f34909eab33733aecc05d27adc82277b"
17SRC_URI[sha256sum] = "ed287158ca1b00ba477e8ea57bac53609838ebcfd05fcb05ca95021b7ebe885b" 18SRC_URI[sha256sum] = "ed287158ca1b00ba477e8ea57bac53609838ebcfd05fcb05ca95021b7ebe885b"