[packages/tcsh] rel 3; builds; patch from gentoo
arekm
arekm at pld-linux.org
Thu Feb 2 13:47:45 CET 2023
commit 900219be5645ac22afc4ff261aa5811f62edc24c
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Thu Feb 2 13:47:22 2023 +0100
rel 3; builds; patch from gentoo
tcsh-6.21.00-fno-common.patch | 22 ++++++++++++++++++++++
tcsh.spec | 4 +++-
2 files changed, 25 insertions(+), 1 deletion(-)
---
diff --git a/tcsh.spec b/tcsh.spec
index dd2f486..461553f 100644
--- a/tcsh.spec
+++ b/tcsh.spec
@@ -17,7 +17,7 @@ Summary(tr.UTF-8): Gelişmiş c-kabuğu (c-shell)
Summary(uk.UTF-8): Покращена верся csh
Name: tcsh
Version: 6.20.00
-Release: 2
+Release: 3
License: distributable
Group: Applications/Shells
Source0: ftp://ftp.astron.com/pub/tcsh/%{name}-%{version}.tar.gz
@@ -32,6 +32,7 @@ Patch3: %{name}-time.patch
Patch4: %{name}-rlimit_locks.patch
Patch5: %{name}-no_TERMCAP.patch
Patch6: %{name}-format-security.patch
+Patch7: tcsh-6.21.00-fno-common.patch
URL: http://www.tcsh.org/Home
BuildRequires: autoconf >= 2.59
BuildRequires: automake
@@ -122,6 +123,7 @@ W tym pakiecie jest statycznie skonsolidowany tcsh.
%patch4 -p1
%patch5 -p1
%patch6 -p1
+%patch7 -p1
%build
cp /usr/share/automake/config.sub .
diff --git a/tcsh-6.21.00-fno-common.patch b/tcsh-6.21.00-fno-common.patch
new file mode 100644
index 0000000..b5a0cf0
--- /dev/null
+++ b/tcsh-6.21.00-fno-common.patch
@@ -0,0 +1,22 @@
+From 6974bc35a5cda6eab748e364bd76a860ca66968b Mon Sep 17 00:00:00 2001
+From: zoulasc <christos at zoulas.com>
+Date: Sat, 11 Jan 2020 11:16:51 -0500
+Subject: [PATCH] Remove extra variable definition that cause -fno-common build
+ to fail (Werner Fink)
+
+---
+ 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)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/tcsh.git/commitdiff/900219be5645ac22afc4ff261aa5811f62edc24c
More information about the pld-cvs-commit
mailing list