]> git.pld-linux.org Git - packages/mksh.git/commitdiff
- rel 2; use 16k cmdline buffer (previously 4k) auto/th/mksh-40b-2
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 18 Oct 2011 16:39:06 +0000 (16:39 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    mksh-cmdline-length.patch -> 1.1
    mksh.spec -> 1.33

mksh-cmdline-length.patch [new file with mode: 0644]
mksh.spec

diff --git a/mksh-cmdline-length.patch b/mksh-cmdline-length.patch
new file mode 100644 (file)
index 0000000..842a245
--- /dev/null
@@ -0,0 +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          '^'
+-#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);
index b9ef49d61de3306e4001f6c985a5b3ae8f78cec6..9aca2bcafc506579265c0c890262c08cb3a88a7c 100644 (file)
--- a/mksh.spec
+++ b/mksh.spec
@@ -5,7 +5,7 @@ Summary:        MirBSD Korn Shell
 Summary(pl.UTF-8):     Powłoka Korna z MirBSD
 Name:          mksh
 Version:       40b
-Release:       1
+Release:       2
 License:       BSD
 Group:         Applications/Shells
 Source0:       http://www.mirbsd.org/MirOS/dist/mir/mksh/%{name}-R%{version}.cpio.gz
@@ -15,6 +15,7 @@ Patch0:               %{name}-mkshrc_support.patch
 Patch1:                %{name}-circumflex.patch
 Patch2:                %{name}-no_stop_alias.patch
 Patch3:                %{name}-distro.patch
+Patch4:                %{name}-cmdline-length.patch
 URL:           https://www.mirbsd.org/mksh.htm
 %if %{with tests}
 BuildRequires: ed
@@ -84,6 +85,7 @@ mv mksh/* .; rmdir mksh
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 
 sed -i -e 's#@DISTRO@#PLD/Linux 3.0#g' check.t sh.h
 
This page took 0.045029 seconds and 4 git commands to generate.