Skip to content

Commit 9cf3b50

Browse files
committed
php8.3: update to 8.3.30.
1 parent 2f3a890 commit 9cf3b50

2 files changed

Lines changed: 35 additions & 3 deletions

File tree

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
The configure script assumes off64_t is available when cross-compiling,
2+
which is only true for our old musl versions for armv{6,7}l.
3+
Instead of assuming or depending on running the script, change
4+
it to a test that checks whether it compiles.
5+
--- a/build/php.m4
6+
+++ b/build/php.m4
7+
@@ -1431,7 +1431,7 @@
8+
have_fopen_cookie=yes
9+
10+
dnl Even newer glibcs have a different seeker definition.
11+
-AC_RUN_IFELSE([AC_LANG_SOURCE([[
12+
+AC_COMPILE_IFELSE([AC_LANG_SOURCE([[
13+
#define _GNU_SOURCE
14+
#include <stdio.h>
15+
#include <stdlib.h>
16+
@@ -1464,16 +1464,6 @@
17+
cookie_io_functions_use_off64_t=yes
18+
], [
19+
cookie_io_functions_use_off64_t=no
20+
-], [
21+
- dnl Cross compilation.
22+
- case $host_alias in
23+
- *linux*)
24+
- cookie_io_functions_use_off64_t=yes
25+
- ;;
26+
- *)
27+
- cookie_io_functions_use_off64_t=no
28+
- ;;
29+
- esac
30+
])
31+
32+
else

srcpkgs/php8.3/template

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Template file for 'php8.3'
22
# rebuild php8.3-apcu and php8.3-imagick when updating this package
33
pkgname=php8.3
4-
version=8.3.14
5-
revision=2
4+
version=8.3.30
5+
revision=1
66
_php_version=8.3
77
build_helper="qemu"
88
hostmakedepends="bison pkg-config apache-devel autoconf"
@@ -19,7 +19,7 @@ changelog="https://raw.githubusercontent.com/php/php-src/php-${version}/NEWS"
1919
# this is the source where the www.php.net code pulls the tarballs it serves
2020
# at https://www.php.net/distributions/
2121
distfiles="https://github.com/php/web-php-distributions/raw/master/php-${version}.tar.gz"
22-
checksum=e4ee602c31e2f701c9f0209a2902dd4802727431246a9155bf56dda7bcf7fb4a
22+
checksum=e587dc95fb7f62730299fa7b36b6e4f91e6708aaefa2fff68a0098d320c16386
2323
provides="php-runtime-${version}_1"
2424

2525
system_accounts="_phpfpm"

0 commit comments

Comments
 (0)