<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/4cb3570d6767cebb647dad90b89e4f55430158ea">https://github.com/macports/macports-ports/commit/4cb3570d6767cebb647dad90b89e4f55430158ea</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 4cb3570d6767cebb647dad90b89e4f55430158ea
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Thu Jan 6 00:40:31 2022 -0600
<span style='display:block; white-space:pre;color:#404040;'> p5-html-strip: Fix implicit function declaration
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/61607
</span>---
perl/p5-html-strip/Portfile | 7 ++++---
perl/p5-html-strip/files/implicit.patch | 13 +++++++++++++
2 files changed, 17 insertions(+), 3 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/perl/p5-html-strip/Portfile b/perl/p5-html-strip/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index a57b5beea8f..b5089247c1a 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/perl/p5-html-strip/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/perl/p5-html-strip/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -15,12 +15,13 @@ long_description This module simply strips HTML-like markup from text \
</span> problem, hence this module lives in the \
HTML::namespace.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> checksums rmd160 7f44813a6a45f4404de2628fe6a22a6ad804c44a \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 2af30a61f1ecc0bea983043c8078e48380ccb0319388a74483e09aa782f1ccfa
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 2af30a61f1ecc0bea983043c8078e48380ccb0319388a74483e09aa782f1ccfa \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 15333
</span>
if {${perl5.major} != ""} {
depends_lib-append \
port:p${perl5.major}-test-exception
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles implicit.patch
</span> }
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/perl/p5-html-strip/files/implicit.patch b/perl/p5-html-strip/files/implicit.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..0a25587c52c
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/perl/p5-html-strip/files/implicit.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,13 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Fix:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+error: implicit declaration of function 'utf8_char_width' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+https://rt.cpan.org/Public/Bug/Display.html?id=134342
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- strip_html.h.orig 2016-04-22 06:07:04.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ strip_html.h 2022-01-06 00:37:21.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -33,6 +33,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } Stripper;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ void _strip_html( Stripper * stripper, char * raw, char * clean, int is_utf8_p );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++int utf8_char_width(unsigned char * string);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ void _reset( Stripper * stripper );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ void clear_striptags( Stripper * stripper );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ void add_striptag( Stripper * stripper, char * tag );
</span></pre><pre style='margin:0'>
</pre>