<pre style='margin:0'>
Chris Jones (cjones051073) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/2869659a8f5527391be8614a28c9e9a6b6c6d5aa">https://github.com/macports/macports-ports/commit/2869659a8f5527391be8614a28c9e9a6b6c6d5aa</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 2869659a8f5 wxWidgets-3.2: Fix implicit declaration configuration errors Closes: https://trac.macports.org/ticket/61672
</span>2869659a8f5 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 2869659a8f5527391be8614a28c9e9a6b6c6d5aa
</span>Author: Chris Jones <jonesc@macports.org>
AuthorDate: Tue Dec 1 11:14:28 2020 +0000
<span style='display:block; white-space:pre;color:#404040;'> wxWidgets-3.2: Fix implicit declaration configuration errors
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/61672
</span>---
graphics/wxWidgets-3.2/Portfile | 3 ++
.../wxWidgets-3.2/files/fix-implicit-decl.diff | 55 ++++++++++++++++++++++
2 files changed, 58 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/wxWidgets-3.2/Portfile b/graphics/wxWidgets-3.2/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 21c1fe5fd06..35dfa385187 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/wxWidgets-3.2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/wxWidgets-3.2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -33,6 +33,9 @@ dist_subdir wxWidgets/${version}
</span> worksrcdir ${distname}/build
patch.dir ${worksrcpath}/..
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# https://trac.macports.org/ticket/61672
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append fix-implicit-decl.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> set selectdir ${workpath}/select
select.group wxWidgets
select.file ${selectdir}/${subport}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/wxWidgets-3.2/files/fix-implicit-decl.diff b/graphics/wxWidgets-3.2/files/fix-implicit-decl.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..9cbf5a93ba7
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/wxWidgets-3.2/files/fix-implicit-decl.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,55 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- configure.in.orig 2020-12-01 10:35:34.000000000 +0000
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ configure.in 2020-12-01 11:04:06.000000000 +0000
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -2475,6 +2475,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ [
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <zlib.h>
</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;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ int main()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -2560,6 +2561,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ [
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <png.h>
</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;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ int main()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -5603,7 +5605,9 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ [whether inotify is usable],
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ wx_cv_inotify_usable,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AC_LINK_IFELSE(
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- [AC_LANG_SOURCE([int main() { return inotify_init(); }])],
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ [AC_LANG_SOURCE([
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ #include <sys/inotify.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int main() { return inotify_init(); }])],
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ [wx_cv_inotify_usable=yes],
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ [wx_cv_inotify_usable=no]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- configure.orig 2020-12-01 10:43:14.000000000 +0000
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ configure 2020-12-01 10:51:57.000000000 +0000
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -21523,6 +21523,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <zlib.h>
</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;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ int main()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -21662,6 +21663,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <png.h>
</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;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ int main()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -33163,6 +33165,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else
</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;'>++#include <sys/inotify.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ int main() { return inotify_init(); }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ _ACEOF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if ac_fn_c_try_link "$LINENO"; then :
</span></pre><pre style='margin:0'>
</pre>