[packages/mksh] - up to 48b
arekm
arekm at pld-linux.org
Tue Oct 15 09:20:53 CEST 2013
commit 00d94790fe13742dfaf603d51fb0884313ded19e
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Tue Oct 15 09:20:47 2013 +0200
- up to 48b
mksh-cmdline-length.patch | 20 ++++++++++----------
mksh.spec | 6 +++---
2 files changed, 13 insertions(+), 13 deletions(-)
---
diff --git a/mksh.spec b/mksh.spec
index 5bdba49..f7cc76b 100644
--- a/mksh.spec
+++ b/mksh.spec
@@ -6,12 +6,12 @@
Summary: MirBSD Korn Shell
Summary(pl.UTF-8): Powłoka Korna z MirBSD
Name: mksh
-Version: 47
-Release: 2
+Version: 48b
+Release: 1
License: BSD
Group: Applications/Shells
Source0: http://www.mirbsd.org/MirOS/dist/mir/mksh/%{name}-R%{version}.tgz
-# Source0-md5: 71c7cbcd78306897801b8b6691091e66
+# Source0-md5: ab9baa6b5a4de9d0e6a3ce9957c18da0
Source1: %{name}-mkshrc
Patch0: %{name}-mkshrc_support.patch
Patch1: %{name}-circumflex.patch
diff --git a/mksh-cmdline-length.patch b/mksh-cmdline-length.patch
index 842a245..de55b3f 100644
--- a/mksh-cmdline-length.patch
+++ b/mksh-cmdline-length.patch
@@ -1,11 +1,11 @@
---- mksh-40b/sh.h~ 2011-10-15 20:27:37.000000000 +0200
-+++ mksh-40b/sh.h 2011-10-18 17:56:07.152596641 +0200
-@@ -381,7 +381,7 @@
- #define NOT '!' /* might use ^ (ie, [!...] vs [^..]) */
- #define NOT2 '^'
+--- mksh-48b/sh.h~ 2013-10-15 09:18:13.000000000 +0200
++++ mksh-48b/sh.h 2013-10-15 09:18:46.706838235 +0200
+@@ -985,7 +985,7 @@
+ EXTERN char *current_wd;
--#define LINE 4096 /* input line size */
-+#define LINE 16384 /* input line size */
-
- EXTERN const char *safe_prompt; /* safe prompt if PS1 substitution fails */
- EXTERN const char initvsn[] I__("KSH_VERSION=@(#)MIRBSD KSH " MKSH_VERSION);
+ /* input line size */
+-#define LINE (4096 - ALLOC_SIZE)
++#define LINE (16384 - ALLOC_SIZE)
+ /*
+ * Minimum required space to work with on a line - if the prompt leaves
+ * less space than this on a line, the prompt is truncated.
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/mksh.git/commitdiff/00d94790fe13742dfaf603d51fb0884313ded19e
More information about the pld-cvs-commit
mailing list