diff options
author | maya <maya@pkgsrc.org> | 2019-07-24 11:15:41 +0000 |
---|---|---|
committer | maya <maya@pkgsrc.org> | 2019-07-24 11:15:41 +0000 |
commit | a8097a25a26fa5773fbb8d7e912086548ec4e195 (patch) | |
tree | 51dba0e5472a0fa286d388636ab736daeb25ba3d /shells | |
parent | 1a7ccd0b21be0789b397ea04e9def0b151fb1ebb (diff) | |
download | pkgsrc-a8097a25a26fa5773fbb8d7e912086548ec4e195.tar.gz |
oksh: update to 6.5
Note release version goes backwards. Version now follows openbsd version
numbering.
No changes available.
Patched to eliminate compilation warnings on netbsd.
Diffstat (limited to 'shells')
-rw-r--r-- | shells/oksh/Makefile | 8 | ||||
-rw-r--r-- | shells/oksh/distinfo | 12 | ||||
-rw-r--r-- | shells/oksh/patches/patch-io.c | 12 | ||||
-rw-r--r-- | shells/oksh/patches/patch-portable.h | 22 |
4 files changed, 45 insertions, 9 deletions
diff --git a/shells/oksh/Makefile b/shells/oksh/Makefile index 48f6109b341..22202838934 100644 --- a/shells/oksh/Makefile +++ b/shells/oksh/Makefile @@ -1,16 +1,16 @@ -# $NetBSD: Makefile,v 1.1 2018/11/09 22:15:12 maya Exp $ +# $NetBSD: Makefile,v 1.2 2019/07/24 11:15:41 maya Exp $ -DISTNAME= oksh-20181009 +DISTNAME= oksh-6.5 CATEGORIES= shells MASTER_SITES= ${MASTER_SITE_GITHUB:=ibara/} -GITHUB_TAG= ${PKGVERSION_NOREV} +GITHUB_TAG= ${DISTNAME} MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= https://github.com/ibara/oksh/ COMMENT= Portable OpenBSD ksh(1) LICENSE= original-bsd -WRKSRC= ${WRKDIR}/${PKGNAME_NOREV} +WRKSRC= ${WRKDIR}/oksh-${PKGNAME_NOREV} GNU_CONFIGURE= yes diff --git a/shells/oksh/distinfo b/shells/oksh/distinfo index 6aa67ac8c2d..9c042f4cbbb 100644 --- a/shells/oksh/distinfo +++ b/shells/oksh/distinfo @@ -1,6 +1,8 @@ -$NetBSD: distinfo,v 1.1 2018/11/09 22:15:12 maya Exp $ +$NetBSD: distinfo,v 1.2 2019/07/24 11:15:41 maya Exp $ -SHA1 (oksh-20181009-20181009.tar.gz) = decc85574c362889f7f9eb74b1ae25eea0241f3c -RMD160 (oksh-20181009-20181009.tar.gz) = d2c8217d9271ac9ac9ed1f10a2884fdc3ba537a1 -SHA512 (oksh-20181009-20181009.tar.gz) = ba4d5d00e5a45ed035da1e4129163e9043f84a662bd100972754fe330ee7811b8b448321d202e61a63b1cc36ceac8df005a17e1473ac842cb536b1e50122e29b -Size (oksh-20181009-20181009.tar.gz) = 301271 bytes +SHA1 (oksh-6.5.tar.gz) = 80ca09d09a430b70ad38d7b3098d642560f5323e +RMD160 (oksh-6.5.tar.gz) = d774a686fc76f6671cc9d6be542c6d4f0afcd07c +SHA512 (oksh-6.5.tar.gz) = 473fc21e829018d3dd2977ae2909d95488a0c8f7a293778fe1e73f8e047cf46da2e3afe4786e95ff650fc7d207da342e0b2a8f8ccd98aa5957765a25bb844f98 +Size (oksh-6.5.tar.gz) = 301894 bytes +SHA1 (patch-io.c) = e231fe9fbef5df7f7a73facbedb0260134e8158c +SHA1 (patch-portable.h) = 9b4cdc1511db6093a0fe24c101bd4491c5df2f49 diff --git a/shells/oksh/patches/patch-io.c b/shells/oksh/patches/patch-io.c new file mode 100644 index 00000000000..0ff1d48c309 --- /dev/null +++ b/shells/oksh/patches/patch-io.c @@ -0,0 +1,12 @@ +$NetBSD: patch-io.c,v 1.1 2019/07/24 11:15:41 maya Exp $ + +--- io.c.orig 2019-04-10 23:55:43.000000000 +0000 ++++ io.c +@@ -10,6 +10,7 @@ + #include <errno.h> + #include <fcntl.h> + #include <string.h> ++#include <stdlib.h> + #include <unistd.h> + + #include "sh.h" diff --git a/shells/oksh/patches/patch-portable.h b/shells/oksh/patches/patch-portable.h new file mode 100644 index 00000000000..1f3f99b342d --- /dev/null +++ b/shells/oksh/patches/patch-portable.h @@ -0,0 +1,22 @@ +$NetBSD: patch-portable.h,v 1.1 2019/07/24 11:15:41 maya Exp $ + +Avoid re-defining timespecsub on netbsd, that already has it. + +--- portable.h.orig 2019-04-10 23:55:43.000000000 +0000 ++++ portable.h +@@ -151,6 +151,7 @@ + ((tsp)->tv_nsec cmp (usp)->tv_nsec) : \ + ((tsp)->tv_sec cmp (usp)->tv_sec)) + ++#ifndef timespecsub + #define timespecsub(tsp, usp, vsp) \ + do { \ + (vsp)->tv_sec = (tsp)->tv_sec - (usp)->tv_sec; \ +@@ -160,6 +161,7 @@ + (vsp)->tv_nsec += 1000000000L; \ + } \ + } while (0) ++#endif + #endif /* !__OpenBSD__ */ + + #if !defined(HAVE_ST_MTIM) && !defined(HAVE_ST_MTIMESPEC) |