<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/b2eedf8f48600579e8299375c49071873a1747e3">https://github.com/macports/macports-ports/commit/b2eedf8f48600579e8299375c49071873a1747e3</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 b2eedf8f486 libgphoto2: fix build errors, via less-strict compilation options See: https://trac.macports.org/ticket/64427
</span>b2eedf8f486 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit b2eedf8f48600579e8299375c49071873a1747e3
</span>Author: Christopher Nielsen <mascguy@github.com>
AuthorDate: Sat Jan 15 15:59:39 2022 -0500

<span style='display:block; white-space:pre;color:#404040;'>    libgphoto2: fix build errors, via less-strict compilation options
</span><span style='display:block; white-space:pre;color:#404040;'>    See: https://trac.macports.org/ticket/64427
</span>---
 devel/libgphoto2/Portfile | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/libgphoto2/Portfile b/devel/libgphoto2/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 15168fa1a2a..15dad64e5f2 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/libgphoto2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/libgphoto2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,7 +4,7 @@ PortSystem          1.0
</span> 
 name                libgphoto2
 version             2.5.28
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision            1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision            2
</span> checksums           rmd160  c12572bb54e672efd00393eaa90aa65de1793e04 \
                     sha256  9600596a03208c15ed76f2d30441d75261dec00d93e80779ed0fc56f03725ebd \
                     size    7399434
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -40,6 +40,22 @@ configure.args      --with-drivers=all \
</span>                     ac_cv_prog_AWK=/usr/bin/awk \
                     ac_cv_path_RSYNC=no
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# By default, upstream's configure script adds a number of strict compilation
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# options, which can cause build failures with some compiler versions. However,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# said script also allows one to easily disable those, simply by specifying
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# CFLAGS to Make.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# As noted in 'configure.ac':
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# >>> If, for some reason, you need to build without all these compiler
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# >>> warnings, run the build while setting CFLAGS to an empty string:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# >>>   $ make all check CFLAGS=
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# In our case, utilize our standard cflags. That prevents use of the default
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# warning-related options, along with adding anything necessary for MacPorts.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.args-append   CFLAGS="${configure.cflags} [get_canonical_archflags cc]"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> variant doxygen description {Use doxygen to generate API docs} {
     depends_build-append    port:doxygen \
                             path:bin/dot:graphviz
</pre><pre style='margin:0'>

</pre>