1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 08:27:46 +00:00

Ports: Update PHP to 8.1.4

This commit is contained in:
Jelle Raaijmakers 2022-03-29 22:48:04 +02:00 committed by Linus Groh
parent cf1baddb67
commit c637795888
9 changed files with 80 additions and 42 deletions

View file

@ -0,0 +1,29 @@
From 99607c7382d82b955015586c716ab4dc5f747235 Mon Sep 17 00:00:00 2001
From: Jelle Raaijmakers <jelle@gmta.nl>
Date: Tue, 29 Mar 2022 22:42:18 +0200
Subject: [PATCH 2/2] Build: Force `inet_aton` detection
For a reason unknown to me, the build system fails to find `inet_aton`
and tries to redefine it with its own implementation in
`flock_compat.c`.
---
configure.ac | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index d9a8d0b9..687c2d87 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)
-dnl Check for inet_aton in -lc, -lbind and -lresolv.
-PHP_CHECK_FUNC(inet_aton, resolv, bind)
+AC_DEFINE(HAVE_INET_ATON, 1, [ ])
dnl Then headers.
dnl ----------------------------------------------------------------------------
--
2.32.0