<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/e35d2a2488956ef99d537fea1b13ec5f918c9416">https://github.com/macports/macports-ports/commit/e35d2a2488956ef99d537fea1b13ec5f918c9416</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 e35d2a24889 php-oauth: Fix build with php73 and later
</span>e35d2a24889 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit e35d2a2488956ef99d537fea1b13ec5f918c9416
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Fri Nov 26 10:48:39 2021 -0600
<span style='display:block; white-space:pre;color:#404040;'> php-oauth: Fix build with php73 and later
</span>---
php/php-oauth/Portfile | 1 +
php/php-oauth/files/pcre.patch | 14 ++++++++++++++
2 files changed, 15 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/php/php-oauth/Portfile b/php/php-oauth/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index bdde3ff6576..be78966c902 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/php/php-oauth/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/php/php-oauth/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -18,6 +18,7 @@ if {[vercmp ${php.branch} 7] >= 0} {
</span> checksums rmd160 c8f17903a0c19512df5e4ae05ddd7b0c262a392f \
sha256 d46f59072f1ade65cf4c4353b7ecf5546d1c56cad602152cb4ba72abb1aa5eec \
size 78926
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles pcre.patch
</span> } else {
version 1.2.3
revision 0
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/php/php-oauth/files/pcre.patch b/php/php-oauth/files/pcre.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..77e12480b5c
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/php/php-oauth/files/pcre.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;'>+Do not check for pcre.h. php-oauth does not use pcre.h; it uses the pcre
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+functionality built into php, which uses pcre.h prior to php 7.3 and
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+pcre2.h in php 7.3 and later.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+https://bugs.php.net/67658
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- config.m4.orig 2020-09-18 02:16:55.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ config.m4 2021-11-26 10:37:00.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -10,7 +10,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PHP_NEW_EXTENSION(oauth, oauth.c provider.c, $ext_shared)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CFLAGS="$CFLAGS -Wall -g"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- AC_CHECK_HEADER(pcre.h, , [AC_MSG_ERROR([Couldn't find pcre.h, try installing the libpcre development/headers package])])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AS_IF([test "x$with_curl" != "xno"],
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ [
</span></pre><pre style='margin:0'>
</pre>