tcsh: Fix build with -fno-common

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj 2020-08-13 19:51:50 -07:00
parent f5b604706f
commit d23e9b9691
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,28 @@
From 2c77b61506aa867a873e3691214983b3eb7f652d Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Thu, 13 Aug 2020 19:49:35 -0700
Subject: [PATCH] Remove defining handle_interrupt twice
Fixes build with -fno-common
Upstream-Status: Pending
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
tc.sig.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/tc.sig.c b/tc.sig.c
index 77659ca..576605a 100644
--- a/tc.sig.c
+++ b/tc.sig.c
@@ -56,7 +56,6 @@ int alrmcatch_disabled; /* = 0; */
int phup_disabled; /* = 0; */
int pchild_disabled; /* = 0; */
int pintr_disabled; /* = 0; */
-int handle_interrupt; /* = 0; */
int
handle_pending_signals(void)
--
2.28.0

View File

@ -12,6 +12,7 @@ SRC_URI = " \
https://astron.com/pub/${BPN}/${BP}.tar.gz \
file://0001-Enable-system-malloc-on-all-linux.patch \
file://0002-Add-debian-csh-scripts.patch \
file://0001-Remove-defining-handle_interrupt-twice.patch \
"
SRC_URI[md5sum] = "f34909eab33733aecc05d27adc82277b"
SRC_URI[sha256sum] = "ed287158ca1b00ba477e8ea57bac53609838ebcfd05fcb05ca95021b7ebe885b"