Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jan 2024 20:34:09 +0100
From:      Moin Rahman <bofh@freebsd.org>
To:        Dima Panov <fluffy@FreeBSD.org>
Cc:        "ports-committers@freebsd.org" <ports-committers@FreeBSD.org>, "dev-commits-ports-all@freebsd.org" <dev-commits-ports-all@FreeBSD.org>, "dev-commits-ports-main@freebsd.org" <dev-commits-ports-main@FreeBSD.org>
Subject:   Re: git: 147a6723542d - main - lang/php82: Update version 8.2.14=>8.2.15
Message-ID:  <FED935EA-95D3-46A0-BFD6-AF555C9E9F05@freebsd.org>
In-Reply-To: <f5b1a1da-655a-4339-a519-e6f98b5f56ae@FreeBSD.org>
References:  <202401181829.40IITUGl083702@gitrepo.freebsd.org> <f5b1a1da-655a-4339-a519-e6f98b5f56ae@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_7FAEE92A-9733-4E98-8062-FC09D173F4B3
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii



> On Jan 18, 2024, at 8:33 PM, Dima Panov <fluffy@FreeBSD.org> wrote:
>=20
>=20
>=20
> On 18.01.2024 21:29, Muhammad Moinur Rahman wrote:
>> The branch main has been updated by bofh:
>> URL: =
https://cgit.FreeBSD.org/ports/commit/?id=3D147a6723542d29626979348f2814a5=
8ae276391b
>> commit 147a6723542d29626979348f2814a58ae276391b
>> Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
>> AuthorDate: 2024-01-18 18:17:45 +0000
>> Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
>> CommitDate: 2024-01-18 18:29:10 +0000
>>     lang/php82: Update version 8.2.14=3D>8.2.15
>>          Changelog: https://www.php.net/ChangeLog-8.php#8.2.15
>> ---
>>  lang/php82/Makefile                            |  3 +-
>>  lang/php82/distinfo                            |  6 +--
>>  lang/php82/files/patch-configure.ac            |  4 +-
>>  lang/php82/files/patch-ext_standard_filestat.c | 26 +++++++++++
>>  lang/php82/files/patch-main_fopen__wrappers.c  | 14 ++++++
>>  lang/php82/files/patch-main_main.c             | 14 ++++++
>>  lang/php82/pkg-plist                           | 12 ++---
>>  sysutils/php82-posix/files/patch-posix.c       | 62 =
++++++++++++++++++++++++++
>>  8 files changed, 129 insertions(+), 12 deletions(-)
>=20
>> diff --git a/lang/php82/files/patch-main_fopen__wrappers.c =
b/lang/php82/files/patch-main_fopen__wrappers.c
>> new file mode 100644
>> index 000000000000..c07c9a867270
>> --- /dev/null
>> +++ b/lang/php82/files/patch-main_fopen__wrappers.c
>> @@ -0,0 +1,14 @@
>> +--- main/fopen_wrappers.c.orig 2024-01-17 22:32:57 UTC
>> ++++ main/fopen_wrappers.c
>> +@@ -369,7 +369,11 @@ PHPAPI int =
php_fopen_primary_script(zend_file_handle *
>> +  char *pwbuf;
>> +
>> +  if (pwbuflen < 1) {
>> ++#if defined(__FreeBSD__) && defined(_SC_PAGESIZE)
>> ++ buflen =3D sysconf(_SC_PAGESIZE);
>=20
> Should be pwbuflen. Copy/paste error?
>=20
>=20
> Now port is unbuildable.
>=20
> --- main/fopen_wrappers.lo ---
> =
/wrkdirs/usr/ports/lang/php82/work/php-8.2.15/main/fopen_wrappers.c:373:5:=
 error: use of undeclared identifier 'buflen'; did you mean 'pwbuflen'?
>                                buflen =3D sysconf(_SC_PAGESIZE);
>                                ^~~~~~
>                                pwbuflen
> =
/wrkdirs/usr/ports/lang/php82/work/php-8.2.15/main/fopen_wrappers.c:368:9:=
 note: 'pwbuflen' declared here
>                        long pwbuflen =3D =
sysconf(_SC_GETPW_R_SIZE_MAX);
>                             ^
> 1 error generated.
> *** [main/fopen_wrappers.lo] Error code 1
>=20
>=20
>=20
>=20
>> ++#else
>> +  return FAILURE;
>> ++#endif
>> +  }
>> +
>> +  pwbuf =3D emalloc(pwbuflen);
>=20
>=20
> --
> Sincerely,
> Dima (fluffy@FreeBSD.org, https://t.me/FluffyBSD)
> (desktop, kde, x11, office, ports-secteam)@FreeBSD team



Grrrrrrr .... Incoming.



--Apple-Mail=_7FAEE92A-9733-4E98-8062-FC09D173F4B3
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP

-----BEGIN PGP SIGNATURE-----

iQKTBAEBCgB9FiEETfdREoUGjQZKBS+fvbm1phfAvJEFAmWpfTFfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDRE
Rjc1MTEyODUwNjhEMDY0QTA1MkY5RkJEQjlCNUE2MTdDMEJDOTEACgkQvbm1phfA
vJEvYA/+Ni7xUR+86ssBP33H2B8c/Xf9S7RUq3E6FVWN+dlWKhKCUYbxddrSl4Np
QI/gmdV6tgSxHP5Df7hlQaQNwsLV3O4ArT5uy4iSJFKimq1CeXHJJgFcS278DLF8
R8kVQaObdVRn4K6eZfoqgZ3ZA05LBZbZQ6+GOPdRpPIjf6E4rOZfxRBvhjT3FjKk
UuS+aB3Nktuzwh2gk/g1AMCufh6z75Zpva99OwmES3iIpWW6pQeSbFgHhA1iquDe
VvGNDDvSA3kcNfp/WfLch+YvoDWcMHt0s0sJtYYxL95oKKrUtgkD6xlAnY1a1NYC
4OrxgHurUXfJbGEILCWmXLfqkdTseH+zlbkYNZFJrtiYYRDSnlg7IXD7DXpdMo92
XlXyzoZs89XaH+SDllHCp4fqphI46vh4/oGknYfhXpb6fFX0ZT6l4TpvQ7bvmUpI
xMVrNAZ8SZnC8kIhj7M7O3YB4CfiwkAUwtx/hUvDPecZ4jR3zGAtPAeRqdoaGCDU
vdV4P7/8xyzz99bfLnpcvk3tsleb3yXZnr5o/QQOHsRp2lT2LYXdoy1gbalzFQRB
4u03f7OjW7xL1OdKp/xbGCwifkZ+AEPJWTiAOfPeLCqWOKQrAO2YjT9gdgTnDaqf
LLWaxOWv8F8KlUw2m+qP2KPdBvnTbZF/Pi9FApuU77Yt2LsDGmk=
=IOM5
-----END PGP SIGNATURE-----

--Apple-Mail=_7FAEE92A-9733-4E98-8062-FC09D173F4B3--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FED935EA-95D3-46A0-BFD6-AF555C9E9F05>