system/ksh-openbsd: Updated for version 20130611.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
parent
086c6c050f
commit
33d6bc609c
|
@ -28,7 +28,7 @@
|
|||
# Build script for the Linux port of OpenBSD's ksh
|
||||
|
||||
PRGNAM=ksh-openbsd
|
||||
VERSION=20130311
|
||||
VERSION=20130611
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="ksh-openbsd"
|
||||
VERSION="20130311"
|
||||
HOMEPAGE="http://leva.ecentrum.hu/slackbuilds/distfiles/ksh-openbsd-20130311.tar.gz"
|
||||
DOWNLOAD="http://leva.ecentrum.hu/slackbuilds/distfiles/ksh-openbsd-20130311.tar.gz"
|
||||
MD5SUM="c2856fe310627f7c3ad2f87985badc2d"
|
||||
VERSION="20130611"
|
||||
HOMEPAGE="http://leva.ecentrum.hu/slackbuilds/distfiles/ksh-openbsd-20130611.tar.gz"
|
||||
DOWNLOAD="http://leva.ecentrum.hu/slackbuilds/distfiles/ksh-openbsd-20130611.tar.gz"
|
||||
MD5SUM="788a91d47164f3cb87c0b3ca698f85b8"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="libbsd"
|
||||
|
|
|
@ -78,11 +78,10 @@ diff -u -p -r1.15 shf.c
|
|||
|
||||
if (!fmt)
|
||||
return 0;
|
||||
@@ -946,134 +915,6 @@ shf_vfprintf(struct shf *shf, const char
|
||||
precision = len; /* no loss */
|
||||
@@ -922,134 +922,6 @@ shf_vfprintf(struct shf *shf, const char
|
||||
}
|
||||
break;
|
||||
-
|
||||
|
||||
-#ifdef FP
|
||||
- case 'e':
|
||||
- case 'g':
|
||||
|
@ -102,7 +101,7 @@ diff -u -p -r1.15 shf.c
|
|||
- /*
|
||||
- * Assumes doubles are pushed on
|
||||
- * the stack. If this is not so, then
|
||||
- * FL_LONG/FL_SHORT should be checked.
|
||||
- * FL_LLONG/FL_LONG/FL_SHORT should be checked.
|
||||
- */
|
||||
- fpnum = va_arg(args, double);
|
||||
- s = fpbuf;
|
||||
|
@ -210,8 +209,7 @@ diff -u -p -r1.15 shf.c
|
|||
- break;
|
||||
- }
|
||||
-#endif /* FP */
|
||||
|
||||
-
|
||||
case 's':
|
||||
if (!(s = va_arg(args, char *)))
|
||||
|
||||
|
||||
s = "(null %s)";
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
--- edit.c.orig 2012-10-31 19:21:31.742319303 +0100
|
||||
+++ edit.c 2012-10-31 19:21:44.031181937 +0100
|
||||
@@ -809,7 +809,7 @@
|
||||
int rval = 0;
|
||||
|
||||
for (add = 0, wlen = len; wlen - add > 0; add++) {
|
||||
- if (strchr("\"#$&'()*;<=>?[\\]`{|}", s[add]) ||
|
||||
+ if (strchr("\"#$&'()*:;<=>?[\\]`{|}", s[add]) ||
|
||||
strchr(ifs, s[add])) {
|
||||
if (putbuf_func(s, add) != 0) {
|
||||
rval = -1;
|
Loading…
Reference in New Issue