Accepting request 383889 from home:Andreas_Schwab:Factory

- union-wait.patch: don't define BSDWAIT on glibc, future versions will
  remove support for union wait.

OBS-URL: https://build.opensuse.org/request/show/383889
OBS-URL: https://build.opensuse.org/package/show/shells/tcsh?expand=0&rev=59
This commit is contained in:
Dr. Werner Fink 2016-06-25 19:42:38 +00:00 committed by Git OBS Bridge
parent 46d1e828fa
commit 2948edad38
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

View File

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