system/ksh-openbsd: Updated for version 20130611.

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
LEVAI Daniel 2013-06-16 15:59:35 -05:00 committed by Niels Horn
parent 086c6c050f
commit 33d6bc609c
8 changed files with 10 additions and 23 deletions

View File

@ -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}

View File

@ -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"

View File

@ -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)";

View File

@ -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;