SHA256
1
0
forked from pool/tcsh

Accepting request 404811 from shells

1

OBS-URL: https://build.opensuse.org/request/show/404811
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tcsh?expand=0&rev=57
This commit is contained in:
Dominique Leuenberger 2016-07-01 07:55:25 +00:00 committed by Git OBS Bridge
commit ca73a81370
3 changed files with 23 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Apr 4 09:00:35 UTC 2016 - schwab@suse.de
- union-wait.patch: don't define BSDWAIT on glibc, future versions will
remove support for union wait.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Mar 30 11:38:25 UTC 2016 - werner@suse.de Wed Mar 30 11:38:25 UTC 2016 - werner@suse.de

View File

@ -35,6 +35,7 @@ Patch6: tcsh-6.18.03-catalogs.dif
# PATCH-FIX-SUSE add history file locking (bsc#901076) # PATCH-FIX-SUSE add history file locking (bsc#901076)
Patch9: tcsh-6.18.03-history-file-locking.patch Patch9: tcsh-6.18.03-history-file-locking.patch
Patch10: tcsh-6.18.03-history-merge.dif Patch10: tcsh-6.18.03-history-merge.dif
Patch11: union-wait.patch
BuildRequires: autoconf BuildRequires: autoconf
BuildRequires: ncurses-devel BuildRequires: ncurses-devel
BuildRequires: screen BuildRequires: screen
@ -62,6 +63,7 @@ correction, a history mechanism, job control, and a C-like syntax.
%patch9 -b .histlock %patch9 -b .histlock
%patch10 -b .histmerg %patch10 -b .histmerg
%patch0 -b .0 %patch0 -b .0
%patch11 -p1
%build %build

15
union-wait.patch Normal file
View File

@ -0,0 +1,15 @@
Index: tcsh-6.19.00/sh.proc.c
===================================================================
--- tcsh-6.19.00.orig/sh.proc.c
+++ tcsh-6.19.00/sh.proc.c
@@ -47,8 +47,8 @@ RCSID("$tcsh: sh.proc.c,v 3.127 2015/02/
# define HZ 16
#endif /* aiws */
-#if defined(_BSD) || (defined(IRIS4D) && __STDC__) || defined(__lucid) || defined(__linux__) || defined(__GNU__) || defined(__GLIBC__)
-# if !defined(__ANDROID__)
+#if defined(_BSD) || (defined(IRIS4D) && __STDC__) || defined(__lucid) || defined(__linux__) || defined(__GNU__)
+# if !defined(__ANDROID__) && !defined(__GLIBC__)
# define BSDWAIT
# endif
#endif /* _BSD || (IRIS4D && __STDC__) || __lucid || glibc */