<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/424638c384cec6e30c1d7d2cecbf0ef6652fd620">https://github.com/macports/macports-ports/commit/424638c384cec6e30c1d7d2cecbf0ef6652fd620</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 424638c bogofilter: Fix build failure with clang 9+
</span>424638c is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 424638c384cec6e30c1d7d2cecbf0ef6652fd620
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Tue Nov 26 02:38:44 2019 -0600
<span style='display:block; white-space:pre;color:#404040;'> bogofilter: Fix build failure with clang 9+
</span>---
mail/bogofilter/Portfile | 2 ++
mail/bogofilter/files/configure.patch | 16 ++++++++++++++++
2 files changed, 18 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/mail/bogofilter/Portfile b/mail/bogofilter/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index ca4a9b5..1d456c7 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/mail/bogofilter/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/mail/bogofilter/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -28,6 +28,8 @@ depends_lib port:sqlite3 \
</span> port:libiconv \
port:gsl
<span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles configure.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> configure.args --with-libsqlite3-prefix=${prefix} \
--with-libiconv-prefix=${prefix} \
--with-gsl-prefix=${prefix} \
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/mail/bogofilter/files/configure.patch b/mail/bogofilter/files/configure.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..c8979dc
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/mail/bogofilter/files/configure.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 build failure with MacPorts clang 9 and later:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+clang: error: '-I-' not supported, please use -iquote instead
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+https://gitlab.com/bogofilter/bogofilter/issues/1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- configure.orig 2019-10-11 15:24:49.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ configure 2019-11-26 02:32:37.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -6465,7 +6465,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 4.*) gcc4=yes ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ esac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ case "$CC" in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- *clang) gcc4=yes ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ *clang*) gcc4=yes ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ esac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if test $gcc4 = yes; then
</span></pre><pre style='margin:0'>
</pre>