diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-01-11 17:44:39 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-01-11 17:44:39 +0000 |
commit | 3b4acc0bc0b77136b371d8a3119066f80f221efe (patch) | |
tree | 783e83143e3a293f008138b22980d2351aaf60a5 /dev-util/kbuild/files | |
parent | df26c7469c1f2af2e643d43e2e32a6c9142e4885 (diff) |
gentoo auto-resync : 11:01:2023 - 17:44:39
Diffstat (limited to 'dev-util/kbuild/files')
-rw-r--r-- | dev-util/kbuild/files/kbuild-0.1.9998.3407-glibc-2.32+.patch | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/dev-util/kbuild/files/kbuild-0.1.9998.3407-glibc-2.32+.patch b/dev-util/kbuild/files/kbuild-0.1.9998.3407-glibc-2.32+.patch deleted file mode 100644 index 68a39fc68deb..000000000000 --- a/dev-util/kbuild/files/kbuild-0.1.9998.3407-glibc-2.32+.patch +++ /dev/null @@ -1,59 +0,0 @@ -http://trac.netlabs.org/kbuild/changeset?format=diff&new=3408&old=3407&new_path=%2Ftrunk&old_path=%2Ftrunk - ---- a/src/kash/jobs.c -+++ b/src/kash/jobs.c -@@ -390,4 +390,5 @@ - fmtstr(s + col, 16, "Done"); - } else { -+ const char *pszSigNm; - #if JOBS - if (WIFSTOPPED(ps->status)) -@@ -397,6 +398,7 @@ - st = WTERMSIG(ps->status); - st &= 0x7f; -- if (st < NSIG && sys_siglist[st]) -- scopyn(sys_siglist[st], s + col, 32); -+ pszSigNm = st < NSIG ? strsignal(st) : NULL; -+ if (pszSigNm) -+ scopyn(pszSigNm, s + col, 32); - else - fmtstr(s + col, 16, "Signal %d", st); ---- a/src/kash/shinstance.h -+++ b/src/kash/shinstance.h -@@ -381,10 +381,6 @@ - /*# define SIGBREAK 21 */ - /*# define SIGABRT 22 */ -- --# define sys_siglist sys_signame -+const char *strsignal(int iSig); - #endif /* _MSC_VER */ --#ifdef __sun__ --# define sys_siglist _sys_siglist --#endif - #ifndef HAVE_SYS_SIGNAME - extern char sys_signame[NSIG][16]; ---- a/src/kash/sys_signame.c -+++ b/src/kash/sys_signame.c -@@ -12,5 +12,5 @@ - void init_sys_signame(void) - { -- unsigned i; -+ unsigned i; - if (sys_signame_initialized) - return; -@@ -120,2 +120,14 @@ - sys_signame_initialized = 1; - } -+ -+#if defined(_MSC_VER) -+const char *strsignal(int iSig) -+{ -+ if (!sys_signame_initialized) -+ init_sys_signame(); -+ if (iSig < NSIG) -+ return sys_signame(iSig); -+ return NULL; -+} -+#endif -+ - |