<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/80a1cd6049f921ec48b4f7a082fd818e61add956">https://github.com/macports/macports-ports/commit/80a1cd6049f921ec48b4f7a082fd818e61add956</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 80a1cd6049f libpcapnav: Fix implicit declaration of function
</span>80a1cd6049f is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 80a1cd6049f921ec48b4f7a082fd818e61add956
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Tue Jul 6 19:05:49 2021 -0500
<span style='display:block; white-space:pre;color:#404040;'> libpcapnav: Fix implicit declaration of function
</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/63223
</span>---
net/libpcapnav/Portfile | 3 ++-
net/libpcapnav/files/implicit.patch | 12 ++++++++++++
2 files changed, 14 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/libpcapnav/Portfile b/net/libpcapnav/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 6b31274d048..08de2602e31 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/net/libpcapnav/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/libpcapnav/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -30,7 +30,8 @@ post-extract {
</span> move ${worksrcpath}/configure.in ${worksrcpath}/configure.ac
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles patch-automake-1.13.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles implicit.patch \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-automake-1.13.diff
</span>
# build with correct architectures
use_autoreconf yes
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/libpcapnav/files/implicit.patch b/net/libpcapnav/files/implicit.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..d291e71cc03
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/libpcapnav/files/implicit.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:
</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 'strcmp' with type 'int (const char *, const char *)' [-Werror,-Wimplicit-function-declaration]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- test/pcapnav-jump.c.orig 2003-10-29 05:54:19.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ test/pcapnav-jump.c 2021-07-06 19:02:57.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1,5 +1,6 @@
</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 <string.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <pcapnav.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ int
</span></pre><pre style='margin:0'>
</pre>