pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/shells/mksh



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Thu May  4 10:15:53 UTC 2023

Modified Files:
        pkgsrc/shells/mksh: Makefile
        pkgsrc/shells/mksh/files: funcs.c

Log Message:
mksh: Remove defer-always flag from printf.

Previously this deferred to a printf binary if one was found in $PATH, which
completely defeats the point of using the builtin for performance reasons.  We
always create a printf wrapper so one was always found.  A nasty side-effect of
this was that with TOOLS_PLATFORM.printf=printf we would end up in a recursive
loop.

Now printf will always use the builtin.  Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 pkgsrc/shells/mksh/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/shells/mksh/files/funcs.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/shells/mksh/Makefile
diff -u pkgsrc/shells/mksh/Makefile:1.45 pkgsrc/shells/mksh/Makefile:1.46
--- pkgsrc/shells/mksh/Makefile:1.45    Mon Dec 19 13:42:34 2022
+++ pkgsrc/shells/mksh/Makefile Thu May  4 10:15:53 2023
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.45 2022/12/19 13:42:34 jperkin Exp $
+# $NetBSD: Makefile,v 1.46 2023/05/04 10:15:53 jperkin Exp $
 
 DISTNAME=              mksh-R59b
 PKGNAME=               ${DISTNAME:S/-R/-/}
-PKGREVISION=           3
+PKGREVISION=           4
 CATEGORIES=            shells
 MASTER_SITES=          # maintained locally
 DISTFILES=             # empty

Index: pkgsrc/shells/mksh/files/funcs.c
diff -u pkgsrc/shells/mksh/files/funcs.c:1.1 pkgsrc/shells/mksh/files/funcs.c:1.2
--- pkgsrc/shells/mksh/files/funcs.c:1.1        Mon Jul  6 10:11:34 2020
+++ pkgsrc/shells/mksh/files/funcs.c    Thu May  4 10:15:53 2023
@@ -156,7 +156,7 @@ const struct builtin mkshbuiltins[] = {
        {"mknod", c_mknod},
 #endif
 #ifdef MKSH_PRINTF_BUILTIN
-       {"~printf", c_printf},
+       {"printf", c_printf},
 #endif
 #if HAVE_SELECT
        {"sleep", c_sleep},



Home | Main Index | Thread Index | Old Index