mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-30 10:38:37 +00:00
lang/php81: Update version 8.1.26=>8.1.27
- Remove unnecesary patches from devel/php82-readline [1] Changelog: https://www.php.net/ChangeLog-8.php#8.1.27 PR: 275795 [1] Reported by: x0r+freebsd@x0r.fr [1]
This commit is contained in:
parent
e216badd22
commit
66f32c9dd2
@ -1,33 +0,0 @@
|
||||
--- config.m4.orig 2019-08-06 06:54:14 UTC
|
||||
+++ config.m4
|
||||
@@ -3,16 +3,10 @@ PHP_ARG_WITH([libedit],
|
||||
[AS_HELP_STRING([--with-libedit],
|
||||
[Include libedit readline replacement (CLI/CGI only)])])
|
||||
|
||||
-if test "$PHP_LIBEDIT" = "no"; then
|
||||
PHP_ARG_WITH([readline],
|
||||
[for readline support],
|
||||
[AS_HELP_STRING([[--with-readline[=DIR]]],
|
||||
[Include readline support (CLI/CGI only)])])
|
||||
-else
|
||||
- dnl "register" the --with-readline option to prevent invalid "unknown
|
||||
- dnl configure option" warning
|
||||
- php_with_readline=no
|
||||
-fi
|
||||
|
||||
if test "$PHP_READLINE" && test "$PHP_READLINE" != "no"; then
|
||||
for i in $PHP_READLINE /usr/local /usr; do
|
||||
@@ -78,6 +72,13 @@ if test "$PHP_READLINE" && test "$PHP_RE
|
||||
AC_DEFINE(HAVE_HISTORY_LIST, 1, [ ])
|
||||
AC_DEFINE(HAVE_LIBREADLINE, 1, [ ])
|
||||
|
||||
+ PHP_CHECK_LIBRARY(readline, rl_completion_matches,
|
||||
+ [
|
||||
+ AC_DEFINE(HAVE_RL_COMPLETION_MATCHES, 1, [ ])
|
||||
+ ],[],[
|
||||
+ -L$READLINE_DIR/$PHP_LIBDIR $PHP_READLINE_LIBS
|
||||
+ ])
|
||||
+
|
||||
elif test "$PHP_LIBEDIT" != "no"; then
|
||||
if test "$PHP_LIBEDIT" != "yes"; then
|
||||
AC_MSG_WARN([libedit directory ignored, rely on pkg-config])
|
@ -1,13 +0,0 @@
|
||||
--- readline_cli.c.orig 2012-03-02 16:40:26.000000000 +0100
|
||||
+++ readline_cli.c 2012-03-02 16:40:43.000000000 +0100
|
||||
@@ -19,6 +19,10 @@
|
||||
|
||||
/* $Id: readline_cli.c 321634 2012-01-01 13:15:04Z felipe $ */
|
||||
|
||||
+#ifdef HAVE_CONFIG_H
|
||||
+#include "config.h"
|
||||
+#endif
|
||||
+
|
||||
#include "php.h"
|
||||
|
||||
#ifndef HAVE_RL_COMPLETION_MATCHES
|
@ -1,6 +1,6 @@
|
||||
PORTNAME= php81
|
||||
DISTVERSION= 8.1.26
|
||||
PORTREVISION= 1
|
||||
DISTVERSION= 8.1.27
|
||||
PORTREVISION?= 0
|
||||
CATEGORIES?= lang devel www
|
||||
MASTER_SITES= PHP/distributions
|
||||
DISTNAME= php-${DISTVERSION}
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1700690550
|
||||
SHA256 (php-8.1.26.tar.xz) = 17f87133596449327451ad4b8d9911bfaea59ff5109f3a6f2bb679f967a8ea0f
|
||||
SIZE (php-8.1.26.tar.xz) = 11809448
|
||||
TIMESTAMP = 1703153725
|
||||
SHA256 (php-8.1.27.tar.xz) = 479e65c3f05714d4aace1370e617d78e49e996ec7a7579a5be47535be61f0658
|
||||
SIZE (php-8.1.27.tar.xz) = 11915228
|
||||
|
@ -1,38 +0,0 @@
|
||||
--- posix.c.orig Fri Feb 23 00:40:39 2007
|
||||
+++ posix.c Sun May 13 17:52:27 2007
|
||||
@@ -838,7 +838,7 @@
|
||||
#if defined(ZTS) && defined(HAVE_GETGRNAM_R) && defined(_SC_GETGR_R_SIZE_MAX)
|
||||
buflen = sysconf(_SC_GETGR_R_SIZE_MAX);
|
||||
if (buflen < 1) {
|
||||
- RETURN_FALSE;
|
||||
+ buflen = 1024;
|
||||
}
|
||||
buf = emalloc(buflen);
|
||||
g = &gbuf;
|
||||
@@ -888,7 +888,7 @@
|
||||
|
||||
grbuflen = sysconf(_SC_GETGR_R_SIZE_MAX);
|
||||
if (grbuflen < 1) {
|
||||
- RETURN_FALSE;
|
||||
+ grbuflen = 1024;
|
||||
}
|
||||
|
||||
grbuf = emalloc(grbuflen);
|
||||
@@ -955,7 +955,7 @@
|
||||
#if defined(ZTS) && defined(_SC_GETPW_R_SIZE_MAX) && defined(HAVE_GETPWNAM_R)
|
||||
buflen = sysconf(_SC_GETPW_R_SIZE_MAX);
|
||||
if (buflen < 1) {
|
||||
- RETURN_FALSE;
|
||||
+ buflen = 1024;
|
||||
}
|
||||
buf = emalloc(buflen);
|
||||
pw = &pwbuf;
|
||||
@@ -1004,7 +1004,7 @@
|
||||
#if defined(ZTS) && defined(_SC_GETPW_R_SIZE_MAX) && defined(HAVE_GETPWUID_R)
|
||||
pwbuflen = sysconf(_SC_GETPW_R_SIZE_MAX);
|
||||
if (pwbuflen < 1) {
|
||||
- RETURN_FALSE;
|
||||
+ pwbuflen = 1024;
|
||||
}
|
||||
pwbuf = emalloc(pwbuflen);
|
||||
|
@ -1,20 +0,0 @@
|
||||
--- config.m4.orig 2021-12-15 02:00:45 UTC
|
||||
+++ config.m4
|
||||
@@ -29,7 +29,7 @@ if test "$PHP_OPCACHE" != "no"; then
|
||||
|
||||
if test "$PHP_OPCACHE_JIT" = "yes"; then
|
||||
case $host_cpu in
|
||||
- i[[34567]]86*|x86*|aarch64)
|
||||
+ i[[34567]]86*|x86*|aarch64|amd64)
|
||||
;;
|
||||
*)
|
||||
AC_MSG_WARN([JIT not supported by host architecture])
|
||||
@@ -48,7 +48,7 @@ if test "$PHP_OPCACHE" != "no"; then
|
||||
DASM_FLAGS="-D X64APPLE=1 -D X64=1"
|
||||
DASM_ARCH="x86"
|
||||
;;
|
||||
- x86_64*)
|
||||
+ *x86_64*|amd64-*-freebsd*)
|
||||
DASM_FLAGS="-D X64=1"
|
||||
DASM_ARCH="x86"
|
||||
;;
|
Loading…
Reference in New Issue
Block a user