<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/423a2b649cccec8fcdf7baa51ac1ee55acac09ef">https://github.com/macports/macports-ports/commit/423a2b649cccec8fcdf7baa51ac1ee55acac09ef</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 423a2b649cc libbpg: Fix implicit declaration of functions
</span>423a2b649cc is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 423a2b649cccec8fcdf7baa51ac1ee55acac09ef
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Fri Nov 5 05:03:13 2021 -0500

<span style='display:block; white-space:pre;color:#404040;'>    libbpg: Fix implicit declaration of functions
</span>---
 graphics/libbpg/Portfile                                   |  5 +++--
 .../libbpg/files/{patch-Makefile.diff => Makefile.patch}   |  0
 graphics/libbpg/files/implicit.patch                       | 14 ++++++++++++++
 3 files changed, 17 insertions(+), 2 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/libbpg/Portfile b/graphics/libbpg/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 2af5dfb3064..3e2522f1d53 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/libbpg/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/libbpg/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -31,7 +31,8 @@ depends_lib         path:include/turbojpeg.h:libjpeg-turbo \
</span>                     port:libsdl \
                     port:libsdl_image
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles          patch-Makefile.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles          Makefile.patch \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    implicit.patch
</span> 
 use_configure       no
 
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -46,7 +47,7 @@ destroot.args       prefix=${prefix}
</span> post-destroot {
     set docdir ${prefix}/share/doc/${subport}
     xinstall -d ${destroot}${docdir}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    xinstall -m 644 -W ${worksrcpath} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    xinstall -m 0644 -W ${worksrcpath} \
</span>         README \
         doc/bpg_spec.txt \
         ${destroot}${docdir}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/libbpg/files/patch-Makefile.diff b/graphics/libbpg/files/Makefile.patch
</span>similarity index 100%
rename from graphics/libbpg/files/patch-Makefile.diff
rename to graphics/libbpg/files/Makefile.patch
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/libbpg/files/implicit.patch b/graphics/libbpg/files/implicit.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..875ff2c8e34
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/libbpg/files/implicit.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,14 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Fix:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+bpgdec.c:339:9: error: implicitly declaring library function 'strrchr' with type 'char *(const char *, int)' [-Werror,-Wimplicit-function-declaration]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+bpgdec.c:343:14: error: implicitly declaring library function 'strcasecmp' with type 'int (const char *, const char *)' [-Werror,-Wimplicit-function-declaration]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- bpgdec.c.orig  2018-04-21 04:42:55.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ bpgdec.c       2021-11-05 05:00:32.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -27,6 +27,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <math.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <getopt.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <inttypes.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 <strings.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* define it to include PNG output */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define USE_PNG
</span></pre><pre style='margin:0'>

</pre>