<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/aa2892db71f8ffc637b76eaa5d15598a980edaf1">https://github.com/macports/macports-ports/commit/aa2892db71f8ffc637b76eaa5d15598a980edaf1</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 aa2892db71f chgrep: Fix implicit declaration of functions
</span>aa2892db71f is described below
<span style='display:block; white-space:pre;color:#808000;'>commit aa2892db71f8ffc637b76eaa5d15598a980edaf1
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Fri Mar 5 12:10:54 2021 -0600
<span style='display:block; white-space:pre;color:#404040;'> chgrep: Fix implicit declaration of functions
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/62336
</span>---
sysutils/chgrep/Portfile | 8 +-
sysutils/chgrep/files/implicit.patch | 97 ++++++++++++++++++++++++
sysutils/chgrep/files/patch-src_chgrep.c.diff | 10 ---
sysutils/chgrep/files/patch-src_error.c.diff | 11 ---
sysutils/chgrep/files/patch-src_functions.c.diff | 18 -----
sysutils/chgrep/files/patch-src_wrappers.c.diff | 10 ---
sysutils/chgrep/files/patch-src_wrappers.h.diff | 9 ---
7 files changed, 101 insertions(+), 62 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/chgrep/Portfile b/sysutils/chgrep/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 9dae0b3c1e3..6f6f7f6fb76 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/sysutils/chgrep/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/chgrep/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3,6 +3,9 @@ PortSystem 1.0
</span> name chgrep
version 1.2.4
revision 1
<span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 6eb35f296d8173670bcf4f25515aa870f5b1e35a \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 c0eb075991a6fbad18c1304f6a9510586e9825aba05854e0be742385e80e73e1 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 47208
</span> categories sysutils
license GPL-2+
platforms darwin
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -17,11 +20,8 @@ long_description Chgrep searches the input files (or standard input if no \
</span> homepage http://www.bmk-it.com/projects/chgrep/
master_sites ${homepage}files/
extract.suffix .tgz
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums md5 9c4306a51550fca58ca4b29c0d31bd79
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles patch-src_chgrep.c.diff patch-src_error.c.diff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-src_functions.c.diff patch-src_wrappers.c.diff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-src_wrappers.h.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles implicit.patch
</span>
configure.args --mandir=${prefix}/share/man
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/chgrep/files/implicit.patch b/sysutils/chgrep/files/implicit.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..4e66c0a57b9
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/chgrep/files/implicit.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,97 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Fix implicit declaration of functions.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- configure.orig 2004-05-06 15:41:10.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ configure 2021-03-05 12:01:28.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1395,6 +1395,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #line 1396 "configure"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "confdefs.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 <stdlib.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1921,6 +1922,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cat > conftest.$ac_ext <<EOF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #line 1923 "configure"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "confdefs.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <stdlib.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <string.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ main()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/chgrep.c.orig 2004-06-15 15:07:22.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/chgrep.c 2021-03-05 12:04:48.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -20,6 +20,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <stdio.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <stdlib.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <sys/stat.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <sys/types.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <utime.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -35,6 +36,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <limits.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "error.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include "ftw.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "wrappers.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "functions.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/error.c.orig 2004-05-29 16:25:07.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/error.c 2021-03-05 12:01:28.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -19,6 +19,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <stdio.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <stdarg.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <stdlib.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 <syslog.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;'>+--- src/functions.c.orig 2004-06-15 15:11:04.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/functions.c 2021-03-05 12:03:27.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -19,6 +19,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</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 <stdlib.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 <sys/types.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <sys/stat.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -28,7 +29,9 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <regex.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <limits.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <dirent.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include "error.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "ftw.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include "wrappers.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define MAXLINE 4096
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define PERM 0666
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/wrappers.c.orig 2004-06-15 14:50:33.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/wrappers.c 2021-03-05 12:01:28.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -19,6 +19,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</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 <stdlib.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <fcntl.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <sys/types.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <sys/stat.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/wrappers.h.orig 2004-06-15 14:52:07.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/wrappers.h 2021-03-05 12:05:45.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -6,7 +6,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ void Unlink(const char *pathname);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-ssize_t rite(int fd, void *ptr, size_t nbytes);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ssize_t Write(int fd, void *ptr, size_t nbytes);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ int Open(const char *pathname, int oflag, mode_t mode);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -27,3 +27,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Sigfunc *Signal(int signo, Sigfunc *func);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ void *Malloc(size_t size);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++void *Realloc(void *ptr, size_t size);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/chgrep/files/patch-src_chgrep.c.diff b/sysutils/chgrep/files/patch-src_chgrep.c.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 60b44eadb6b..00000000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/sysutils/chgrep/files/patch-src_chgrep.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,10 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- src/chgrep.c.orig 2004-06-15 14:07:22.000000000 -0600
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ src/chgrep.c 2009-12-18 16:01:20.000000000 -0700
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -20,6 +20,7 @@
</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;'>- #include <stdio.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#include <stdlib.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #include <sys/stat.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #include <sys/types.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #include <utime.h>
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/chgrep/files/patch-src_error.c.diff b/sysutils/chgrep/files/patch-src_error.c.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 81909f5843b..00000000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/sysutils/chgrep/files/patch-src_error.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,11 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- src/error.c.orig 2004-05-29 15:25:07.000000000 -0600
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ src/error.c 2009-12-18 15:53:41.000000000 -0700
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -19,6 +19,8 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #include <stdio.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #include <stdarg.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#include <stdlib.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#include <string.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #include <syslog.h>
</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;color:#808080;'>diff --git a/sysutils/chgrep/files/patch-src_functions.c.diff b/sysutils/chgrep/files/patch-src_functions.c.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 38e659fffb4..00000000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/sysutils/chgrep/files/patch-src_functions.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,18 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- src/functions.c.orig 2004-06-15 14:11:04.000000000 -0600
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ src/functions.c 2009-12-18 16:00:42.000000000 -0700
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -19,6 +19,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #include <stdio.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #include <unistd.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#include <stdlib.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #include <string.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #include <sys/types.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #include <sys/stat.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -29,6 +30,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #include <limits.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #include <dirent.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #include "ftw.h"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#include "wrappers.h"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #define MAXLINE 4096
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #define PERM 0666
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/chgrep/files/patch-src_wrappers.c.diff b/sysutils/chgrep/files/patch-src_wrappers.c.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 644c0956426..00000000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/sysutils/chgrep/files/patch-src_wrappers.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,10 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- src/wrappers.c.orig 2004-06-15 13:50:33.000000000 -0600
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ src/wrappers.c 2009-12-18 15:59:59.000000000 -0700
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -19,6 +19,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #include <stdio.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #include <unistd.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#include <stdlib.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #include <fcntl.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #include <sys/types.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #include <sys/stat.h>
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/chgrep/files/patch-src_wrappers.h.diff b/sysutils/chgrep/files/patch-src_wrappers.h.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0ca015fe8b8..00000000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/sysutils/chgrep/files/patch-src_wrappers.h.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,9 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- src/wrappers.h.orig 2004-06-15 13:52:07.000000000 -0600
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ src/wrappers.h 2009-12-18 15:59:19.000000000 -0700
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -27,3 +27,6 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- Sigfunc *Signal(int signo, Sigfunc *func);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- void *Malloc(size_t size);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+void *Realloc(void *ptr, size_t size);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span></pre><pre style='margin:0'>
</pre>