Skip to content

Commit

Permalink
Ports/php: Update php to version 8.2.10
Browse files Browse the repository at this point in the history
  • Loading branch information
EWouters authored and gmta committed Oct 12, 2023
1 parent f49d6ae commit de6a125
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Ports/AvailablePorts.md
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ This list is also available at [ports.serenityos.net](https://ports.serenityos.n
| [`pcre2`](pcre2/) | Perl-compatible Regular Expressions (PCRE2) | 10.42 | https://www.pcre.org/ |
| [`perl5`](perl5/) | Perl | 5.38.0 | https://www.perl.org/ |
| [`pfetch`](pfetch/) | pfetch | a906ff8 | https://github.com/dylanaraps/pfetch/ |
| [`php`](php/) | PHP | 8.2.8 | https://www.php.net/ |
| [`php`](php/) | PHP | 8.2.10 | https://www.php.net/ |
| [`pixman`](pixman/) | pixman | 0.40.0 | https://pixman.org |
| [`pkgconf`](pkgconf/) | pkgconf | 1.8.0 | https://github.com/pkgconf/pkgconf |
| [`poppler`](poppler/) | Poppler is a PDF rendering library | 23.08.0 | https://poppler.freedesktop.org/ |
Expand Down
4 changes: 2 additions & 2 deletions Ports/php/package.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/usr/bin/env -S bash ../.port_include.sh
port='php'
useconfigure='true'
version='8.2.8'
version='8.2.10'
files=(
"https://www.php.net/distributions/php-${version}.tar.xz#cfe1055fbcd486de7d3312da6146949aae577365808790af6018205567609801"
"https://www.php.net/distributions/php-${version}.tar.xz#561dc4acd5386e47f25be76f2c8df6ae854756469159248313bcf276e282fbb3"
)
depends=(
'libiconv'
Expand Down
4 changes: 2 additions & 2 deletions Ports/php/patches/0001-Build-Disable-pharcmd.patch
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ not try to run phar locally.
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index ee2d248105f6af61540dfde3eb9e7297c515f0ea..6190cfb73f01cc68d439cb99fdfc9f18341a4cd6 100644
index 42d6a3b6ca968b488c871f7c6f5395530481138b..dd244cdbc28e650237249ae8b636f6034a578826 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1567,8 +1567,8 @@ CFLAGS="\$(CFLAGS_CLEAN) $standard_libtool_flag"
@@ -1639,8 +1639,8 @@ CFLAGS="\$(CFLAGS_CLEAN) $standard_libtool_flag"
CXXFLAGS="$CXXFLAGS $standard_libtool_flag \$(PROF_FLAGS)"

if test "$PHP_PHAR" != "no" && test "$PHP_CLI" != "no"; then
Expand Down
8 changes: 4 additions & 4 deletions Ports/php/patches/0002-Build-Force-inet_aton-detection.patch
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ and tries to redefine it with its own implementation in
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 6190cfb73f01cc68d439cb99fdfc9f18341a4cd6..b5b8bcc21dd2330adbe81bbc5ad0b6ec256b1ce9 100644
index dd244cdbc28e650237249ae8b636f6034a578826..1cbb6027c42d09b8fe0bc6f69afd023528795d74 100644
--- a/configure.ac
+++ b/configure.ac
@@ -365,8 +365,7 @@ if test "$ac_cv_func_dlopen" = "yes"; then
fi
AC_CHECK_LIB(m, sin)
@@ -383,8 +383,7 @@ case $host_alias in
;;
esac

-dnl Check for inet_aton in -lc, -lbind and -lresolv.
-PHP_CHECK_FUNC(inet_aton, resolv, bind)
Expand Down

0 comments on commit de6a125

Please sign in to comment.