<pre style='margin:0'>
Ryan Carsten Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/9e5f59618695a54f9ad40f9fbbd099394d49cd04">https://github.com/macports/macports-ports/commit/9e5f59618695a54f9ad40f9fbbd099394d49cd04</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 9e5f5961869 mkpwd: Fix implicit declaration of functions
</span>9e5f5961869 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 9e5f59618695a54f9ad40f9fbbd099394d49cd04
</span>Author: Ryan Carsten Schmidt <ryandesign@macports.org>
AuthorDate: Mon Jan 8 00:13:07 2024 -0600
<span style='display:block; white-space:pre;color:#404040;'> mkpwd: Fix implicit declaration of functions
</span>---
sysutils/mkpwd/Portfile | 26 ++++++++-------
sysutils/mkpwd/files/implicit.patch | 16 ++++++++++
sysutils/mkpwd/files/libcrypt.patch | 23 ++++++++++++++
.../files/{patch-mkpwd.1.diff => mkpwd.1.patch} | 2 +-
sysutils/mkpwd/files/patch-Makefile.am.diff | 10 ------
sysutils/mkpwd/files/patch-Makefile.in.diff | 29 -----------------
sysutils/mkpwd/files/patch-configure.diff | 16 ----------
sysutils/mkpwd/files/patch-mkpwd.c.diff | 37 ----------------------
sysutils/mkpwd/files/version.patch | 12 +++++++
9 files changed, 67 insertions(+), 104 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/mkpwd/Portfile b/sysutils/mkpwd/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 232888c1de9..21a8615ccc2 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/sysutils/mkpwd/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/mkpwd/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,26 +4,30 @@ PortSystem 1.0
</span>
name mkpwd
version 1.6
<span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 a438113a4fc823ae9e884c1d530fbe5689077432 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 6db5032fa6e2bc3ebd499ebf2b94f8df5b3ce64760d84fda7101e951bfb5c88a \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 94696
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> categories sysutils
license Permissive
<span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span> maintainers nomaintainer
description mkpwd is a scalable password generator
long_description ${description}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage http://www.o-schroeder.de/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites ${homepage}/download/${name}/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://www.o-schroeder.de/projects/mkpwd/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites https://www.o-schroeder.de/download/mkpwd/
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 a438113a4fc823ae9e884c1d530fbe5689077432 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 6db5032fa6e2bc3ebd499ebf2b94f8df5b3ce64760d84fda7101e951bfb5c88a
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles implicit.patch \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ libcrypt.patch \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ mkpwd.1.patch \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ version.patch
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles patch-configure.diff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-Makefile.am.diff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-Makefile.in.diff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-mkpwd.c.diff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-mkpwd.1.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|@VERSION@|${version}|g" ${worksrcpath}/mkpwd.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span>
livecheck.type regex
livecheck.url ${master_sites}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.regex ${name}-(\[0-9.\].\[0-9.\]+)\\${extract.suffix}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.regex ${name}-(\[0-9.\]+)[quotemeta ${extract.suffix}]
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/mkpwd/files/implicit.patch b/sysutils/mkpwd/files/implicit.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..440cf1f2d0e
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/mkpwd/files/implicit.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,16 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Fix:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+error: implicitly declaring library function 'tolower' with type 'int (int)' [-Werror,-Wimplicit-function-declaration]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+error: implicitly declaring library function 'toupper' with type 'int (int)' [-Werror,-Wimplicit-function-declaration]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+error: implicit declaration of function 'time' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- mkpwd.c.orig 2012-08-02 10:22:13.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ mkpwd.c 2024-01-08 00:21:04.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -25,6 +25,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <stdio.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <unistd.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <string.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <ctype.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <time.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <errno.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ const char* PROGRAM = "mkpwd";
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/mkpwd/files/libcrypt.patch b/sysutils/mkpwd/files/libcrypt.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..8e82351d8eb
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/mkpwd/files/libcrypt.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,23 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Don't link with libcrypt.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- Makefile.in.orig 2014-01-29 05:58:23.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ Makefile.in 2015-08-31 17:04:58.000000000 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -162,7 +162,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LDFLAGS = @LDFLAGS@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LIBOBJS = @LIBOBJS@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-LIBS = -lcrypt @LIBS@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++LIBS = @LIBS@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LTLIBOBJS = @LTLIBOBJS@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ MAKE = @MAKE@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ MAKEINFO = @MAKEINFO@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- configure.orig 2014-01-29 05:58:24.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ configure 2015-08-31 17:14:38.000000000 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -3506,7 +3506,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ $as_echo_n "(cached) " >&6
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ac_check_lib_save_LIBS=$LIBS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-LIBS="-lcrypt $LIBS"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++LIBS=" $LIBS"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* end confdefs.h. */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/mkpwd/files/patch-mkpwd.1.diff b/sysutils/mkpwd/files/mkpwd.1.patch
</span>similarity index 98%
rename from sysutils/mkpwd/files/patch-mkpwd.1.diff
rename to sysutils/mkpwd/files/mkpwd.1.patch
<span style='display:block; white-space:pre;color:#808080;'>index 655ec51e44a..85dacabed8e 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/sysutils/mkpwd/files/patch-mkpwd.1.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/mkpwd/files/mkpwd.1.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,4 +1,4 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- mkpwd.1.orig 2015-08-31 18:03:04.000000000 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- mkpwd.1.orig 2012-08-02 10:22:13.000000000 -0500
</span> +++ mkpwd.1 2015-08-31 18:06:34.000000000 -0400
@@ -11,7 +11,7 @@
]
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/mkpwd/files/patch-Makefile.am.diff b/sysutils/mkpwd/files/patch-Makefile.am.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 8d416735b62..00000000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/sysutils/mkpwd/files/patch-Makefile.am.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,10 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- Makefile.am.orig 2015-08-31 17:04:38.000000000 -0400
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ Makefile.am 2015-08-31 17:06:51.000000000 -0400
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -5,6 +5,6 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- bin_PROGRAMS = mkpwd
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- mkpwd_SOURCES = mkpwd.c
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- man_MANS = mkpwd.1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--LIBS = -lcrypt @LIBS@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+LIBS = @LIBS@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- EXTRA_DIST = README mkpwd.1
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/mkpwd/files/patch-Makefile.in.diff b/sysutils/mkpwd/files/patch-Makefile.in.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index c778ba0fad9..00000000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/sysutils/mkpwd/files/patch-Makefile.in.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,29 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- Makefile.in.orig 2015-08-31 17:04:27.000000000 -0400
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ Makefile.in 2015-08-31 17:04:58.000000000 -0400
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -162,7 +162,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- LDFLAGS = @LDFLAGS@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- LIBOBJS = @LIBOBJS@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--LIBS = -lcrypt @LIBS@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+LIBS = @LIBS@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- LTLIBOBJS = @LTLIBOBJS@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- MAKE = @MAKE@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- MAKEINFO = @MAKEINFO@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -272,7 +272,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- @rm -f stamp-h1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- cd $(top_builddir) && $(SHELL) ./config.status config.h
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--$(srcdir)/config.h.in: $(am__configure_deps)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+$(srcdir)/config.h.in: $(am__configure_deps)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- rm -f stamp-h1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- touch $@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -319,7 +319,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- clean-binPROGRAMS:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--mkpwd$(EXEEXT): $(mkpwd_OBJECTS) $(mkpwd_DEPENDENCIES) $(EXTRA_mkpwd_DEPENDENCIES)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+mkpwd$(EXEEXT): $(mkpwd_OBJECTS) $(mkpwd_DEPENDENCIES) $(EXTRA_mkpwd_DEPENDENCIES)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- @rm -f mkpwd$(EXEEXT)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- $(LINK) $(mkpwd_OBJECTS) $(mkpwd_LDADD) $(LIBS)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/mkpwd/files/patch-configure.diff b/sysutils/mkpwd/files/patch-configure.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index f81fd09f61f..00000000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/sysutils/mkpwd/files/patch-configure.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,16 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- configure.orig 2015-08-31 17:14:24.000000000 -0400
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ configure 2015-08-31 17:14:38.000000000 -0400
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -3506,7 +3506,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- $as_echo_n "(cached) " >&6
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- else
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ac_check_lib_save_LIBS=$LIBS
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--LIBS="-lcrypt $LIBS"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+LIBS=" $LIBS"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- /* end confdefs.h. */
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -5013,4 +5013,3 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- fi
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/mkpwd/files/patch-mkpwd.c.diff b/sysutils/mkpwd/files/patch-mkpwd.c.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 23693bc2c92..00000000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/sysutils/mkpwd/files/patch-mkpwd.c.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,37 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- mkpwd.c.orig 2015-08-31 17:25:15.000000000 -0400
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ mkpwd.c 2015-08-31 17:25:25.000000000 -0400
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -7,11 +7,11 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ** Copyright 1999-2003 Oliver Schroeder
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- **
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ** Permission to use, copy, modify, and distribute this
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--** software and its documentation for any purpose and
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--** without any fee is hereby granted, provided that the
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--** above copyright notice and this permission notice
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--** appear in all copies of the software and derivative
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--** works or modified versions thereof, and that both the
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+** software and its documentation for any purpose and
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+** without any fee is hereby granted, provided that the
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+** above copyright notice and this permission notice
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+** appear in all copies of the software and derivative
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+** works or modified versions thereof, and that both the
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ** copyright notice and this permission and disclaimer
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ** notice appear in supporting documentation.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- **
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -28,7 +28,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #include <errno.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- const char* PROGRAM = "mkpwd";
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--const char* VERSION = "0.8";
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+const char* VERSION = "1.6";
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- const char* COPYRIGHT = "(c) 1999-2010 Oliver Schroeder";
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- /*********************************************************************
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -150,7 +150,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- extern int optind, opterr;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- int option_index = 0;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- int c;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- c = 1;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- opterr = 0;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- while (c != EOF)
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/mkpwd/files/version.patch b/sysutils/mkpwd/files/version.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..8c4e550a296
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/mkpwd/files/version.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,12 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Fix version number.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- mkpwd.c.orig 2012-08-02 10:22:13.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ mkpwd.c 2024-01-08 00:21:04.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -28,7 +28,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <errno.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ const char* PROGRAM = "mkpwd";
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-const char* VERSION = "0.8";
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++const char* VERSION = "@VERSION@";
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ const char* COPYRIGHT = "(c) 1999-2010 Oliver Schroeder";
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /*********************************************************************
</span></pre><pre style='margin:0'>
</pre>