<pre style='margin:0'>
Christopher Nielsen (mascguy) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/296d98c7f0b12ec64eb5988a5550d473366cba93">https://github.com/macports/macports-ports/commit/296d98c7f0b12ec64eb5988a5550d473366cba93</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 296d98c7f0b kismet: patch for correct clang use; quiet warnings
</span>296d98c7f0b is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 296d98c7f0b12ec64eb5988a5550d473366cba93
</span>Author: Christopher Nielsen <mascguy@github.com>
AuthorDate: Fri May 12 16:06:24 2023 -0400
<span style='display:block; white-space:pre;color:#404040;'> kismet: patch for correct clang use; quiet warnings
</span>---
net/kismet/Portfile | 11 ++++++++++-
.../patch-capture_osx_corewlan_wifi-Makefile.diff | 20 ++++++++++++++++++++
2 files changed, 30 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/kismet/Portfile b/net/kismet/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 6ffaffd8620..0b098c18677 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/net/kismet/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/kismet/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -32,7 +32,6 @@ checksums rmd160 340f225d40a74211a2382a449674353f5d7a0020 \
</span> sha256 2149cceac5526508653f4d02dcf7a694e3da3dc000a2372a1ee4bf9988279781 \
size 10700692
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> # macports-libcxx needed for:
# error: no template named 'binary_function' in namespace 'std'
legacysupport.newest_darwin_requires_legacy 17
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -51,6 +50,8 @@ depends_lib-append \
</span> port:libusb \
port:libwebsockets
<span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append patch-capture_osx_corewlan_wifi-Makefile.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> pre-patch {
reinplace -W ${worksrcpath} "s|-groupadd -r -f|#-groupadd -r -f|" Makefile.in
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -58,12 +59,20 @@ pre-patch {
</span> # Needs C++17, as of version 2022-xx-xx
compiler.cxx_standard 2017
<span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.cxxflags-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -Wno-error=unused-command-line-argument \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -Wno-deprecated-builtins \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -Wno-macro-redefined
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> configure.post_args-append \
--sysconfdir=${prefix}/etc/${name} \
--disable-python-tools \
--disable-ubertooth
build.type gnu
<span style='display:block; white-space:pre;background:#e0ffe0;'>+build.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ OBJCXX="${configure.objcxx}" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ OBJCXXFLAGS="${configure.objcxxflags} [get_canonical_archflags objcxx]"
</span>
# Install capture tools with suid-root runnable by members of 'staff' group. This
# eliminates the need to run Kismet as root. Data capture is done under a
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/kismet/files/patch-capture_osx_corewlan_wifi-Makefile.diff b/net/kismet/files/patch-capture_osx_corewlan_wifi-Makefile.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..14aa5b3a1fe
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/kismet/files/patch-capture_osx_corewlan_wifi-Makefile.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,20 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- capture_osx_corewlan_wifi/Makefile.in.orig 2023-05-12 15:14:12.000000000 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ capture_osx_corewlan_wifi/Makefile.in 2023-05-12 15:18:54.000000000 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -12,7 +12,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PCAPLIBS=@PCAPLIBS@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CFLAGS+=@PCAPCFLAGS@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-CLANG=clang
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++CLANG=$(OBJCXX)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ FRAMEWORKS=-framework Foundation -framework CoreWLAN
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ all: $(MONITOR_BIN)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -33,7 +33,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ $(CC) -MM $(CFLAGS) $(CPPFLAGS) $*.c | sed -e "s/\.o/\.c.o/" > $*.c.d
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ %.m.o: %.m
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- $(CLANG) $(CFLAGS) $(CPPFLAGS) -c $(FRAMEWORKS) $*.m -o $@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ $(CLANG) $(OBJCXXFLAGS) $(CPPFLAGS) -c $(FRAMEWORKS) $*.m -o $@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ .PRECIOUS: %.c.d
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span></pre><pre style='margin:0'>
</pre>