summaryrefslogtreecommitdiffstats
path: root/source/ap/ash/patches/ash-misc.patch
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2018-05-28 19:12:29 +0000
committer Eric Hameleers <alien@slackware.com>2018-05-31 23:39:35 +0200
commit646a5c1cbfd95873950a87b5f75d52073a967023 (patch)
treeb8b8d2ab3b0d432ea69ad1a64d1c789649d65020 /source/ap/ash/patches/ash-misc.patch
parentd31c50870d0bee042ce660e445c9294a59a3a65b (diff)
downloadcurrent-20180528191229.tar.gz
current-20180528191229.tar.xz
Mon May 28 19:12:29 UTC 201820180528191229
a/pkgtools-15.0-noarch-13.txz: Rebuilt. installpkg: default line length for --terselength is the number of columns. removepkg: added --terse mode. upgradepkg: default line length for --terselength is the number of columns. upgradepkg: accept -option in addition to --option. ap/vim-8.1.0026-x86_64-1.txz: Upgraded. d/bison-3.0.5-x86_64-1.txz: Upgraded. e/emacs-26.1-x86_64-1.txz: Upgraded. kde/kopete-4.14.3-x86_64-8.txz: Rebuilt. Recompiled against libidn-1.35. n/conntrack-tools-1.4.5-x86_64-1.txz: Upgraded. n/libnetfilter_conntrack-1.0.7-x86_64-1.txz: Upgraded. n/libnftnl-1.1.0-x86_64-1.txz: Upgraded. n/links-2.16-x86_64-2.txz: Rebuilt. Rebuilt to enable X driver for -g mode. n/lynx-2.8.9dev.19-x86_64-1.txz: Upgraded. n/nftables-0.8.5-x86_64-1.txz: Upgraded. n/p11-kit-0.23.11-x86_64-1.txz: Upgraded. n/ulogd-2.0.7-x86_64-1.txz: Upgraded. n/whois-5.3.1-x86_64-1.txz: Upgraded. xap/network-manager-applet-1.8.12-x86_64-1.txz: Upgraded. xap/vim-gvim-8.1.0026-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/ap/ash/patches/ash-misc.patch')
-rw-r--r--source/ap/ash/patches/ash-misc.patch122
1 files changed, 0 insertions, 122 deletions
diff --git a/source/ap/ash/patches/ash-misc.patch b/source/ap/ash/patches/ash-misc.patch
deleted file mode 100644
index 9845a2325..000000000
--- a/source/ap/ash/patches/ash-misc.patch
+++ /dev/null
@@ -1,122 +0,0 @@
-diff -urN netbsd-sh/error.c ash-0.3.7.orig/error.c
---- netbsd-sh/error.c Fri Jan 12 17:50:35 2001
-+++ ash-0.3.7.orig/error.c Mon Apr 23 22:16:46 2001
-@@ -233,6 +233,7 @@
- { ENOTDIR, E_CREAT,"directory nonexistent" },
- { ENOTDIR, E_EXEC, "not found" },
- { EISDIR, ALL, "is a directory" },
-+ { EEXIST, E_CREAT,"file exists" },
- #ifdef notdef
- { EMFILE, ALL, "too many open files" },
- #endif
-diff -urN netbsd-sh/error.h ash-0.3.7.orig/error.h
---- netbsd-sh/error.h Fri Jul 9 13:02:05 1999
-+++ ash-0.3.7.orig/error.h Mon Apr 23 22:16:46 2001
-@@ -102,7 +102,7 @@
- * so we use _setjmp instead.
- */
-
--#if defined(BSD) && !defined(__SVR4)
-+#if defined(BSD) && !defined(__SVR4) && !defined(__GLIBC__)
- #define setjmp(jmploc) _setjmp(jmploc)
- #define longjmp(jmploc, val) _longjmp(jmploc, val)
- #endif
-diff -urN netbsd-sh/bltin/bltin.h ash-0.3.7.orig/bltin/bltin.h
---- netbsd-sh/bltin/bltin.h Sat Jul 5 13:12:37 1997
-+++ ash-0.3.7.orig/bltin/bltin.h Mon Apr 23 22:16:46 2001
-@@ -46,8 +46,10 @@
-
- #include "../shell.h"
- #include "../mystring.h"
-+#include "../memalloc.h"
- #ifdef SHELL
- #include "../output.h"
-+#ifndef _GNU_SOURCE
- #define stdout out1
- #define stderr out2
- #define printf out1fmt
-@@ -56,12 +58,13 @@
- #define fprintf outfmt
- #define fputs outstr
- #define fflush flushout
--#define INITARGS(argv)
- #define warnx(a, b, c) { \
- char buf[64]; \
- (void)snprintf(buf, sizeof(buf), a, b, c); \
- error("%s", buf); \
- }
-+#endif
-+#define INITARGS(argv)
-
- #else
- #undef NULL
-diff -urN netbsd-sh/main.c ash-0.3.7.orig/main.c
---- netbsd-sh/main.c Fri Jan 12 17:50:36 2001
-+++ ash-0.3.7.orig/main.c Mon Apr 23 22:16:46 2001
-@@ -115,6 +119,9 @@
- #if PROFILE
- monitor(4, etext, profile_buf, sizeof profile_buf, 50);
- #endif
-+#if defined(linux) || defined(__GNU__)
-+ signal(SIGCHLD, SIG_DFL);
-+#endif
- state = 0;
- if (setjmp(jmploc.loc)) {
- /*
-diff -urN netbsd-sh/var.c ash-0.3.7.orig/var.c
---- netbsd-sh/var.c Fri Jan 12 17:50:40 2001
-+++ ash-0.3.7.orig/var.c Mon Apr 23 22:19:54 2001
-@@ -114,7 +114,7 @@
- NULL },
- { &vmpath, VSTRFIXED|VTEXTFIXED|VUNSET, "MAILPATH=",
- NULL },
-- { &vpath, VSTRFIXED|VTEXTFIXED, "PATH=" _PATH_DEFPATH,
-+ { &vpath, VSTRFIXED|VTEXTFIXED, "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
- changepath },
- /*
- * vps1 depends on uid
-@@ -138,13 +138,16 @@
-
- /*
- * Initialize the varable symbol tables and import the environment
-+ * Setting PWD added by herbert
- */
-
- #ifdef mkinit
-+INCLUDE "cd.h"
- INCLUDE "var.h"
- INIT {
- char **envp;
- extern char **environ;
-+ extern char *curdir;
-
- initvar();
- for (envp = environ ; *envp ; envp++) {
-@@ -152,6 +155,9 @@
- setvareq(*envp, VEXPORT|VTEXTFIXED);
- }
- }
-+
-+ getpwd();
-+ setvar("PWD", curdir, VEXPORT|VTEXTFIXED);
- }
- #endif
-
-@@ -283,6 +289,7 @@
- struct var *vp, **vpp;
-
- vpp = hashvar(s);
-+ flags |= (VEXPORT & (((unsigned) (1 - aflag)) - 1));
- for (vp = *vpp ; vp ; vp = vp->next) {
- if (varequal(s, vp->text)) {
- if (vp->flags & VREADONLY) {
-@@ -305,7 +312,8 @@
- * We could roll this to a function, to handle it as
- * a regular variable function callback, but why bother?
- */
-- if (vp == &vmpath || (vp == &vmail && ! mpathset()))
-+ if (iflag &&
-+ (vp == &vmpath || (vp == &vmail && ! mpathset())))
- chkmail(1);
- INTON;
- return;