Re: git: d8ac6c8bc77f - main - lang/spidermonkey{78,102}: fix build with Python 3.11
- In reply to: Charlie Li : "git: d8ac6c8bc77f - main - lang/spidermonkey{78,102}: fix build with Python 3.11"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 29 Mar 2023 01:18:11 UTC
Moin-moin!
Please do the same for spidermonkey91 (upper limit to 3.10 was set in bbb52b35ed7eb566deb8d80d1ba563c9c8844936)
On 29.03.2023 03:57, Charlie Li wrote:
> The branch main has been updated by vishwin:
>
> URL: https://cgit.FreeBSD.org/ports/commit/?id=d8ac6c8bc77ffb66fbb1d4a9cd8fb698114ae231
>
> commit d8ac6c8bc77ffb66fbb1d4a9cd8fb698114ae231
> Author: Charlie Li <vishwin@FreeBSD.org>
> AuthorDate: 2023-03-29 00:46:46 +0000
> Commit: Charlie Li <vishwin@FreeBSD.org>
> CommitDate: 2023-03-29 00:46:46 +0000
>
> lang/spidermonkey{78,102}: fix build with Python 3.11
>
> open(), io.open() et al no longer accept 'U' ("universal newline")
> in the file mode; the flag had been deprecated since Python 3.3. [0]
> Failed during configure.
>
> While here, remove duplicate Python dependency line and use root
> configure script.
>
> References:
> [0] https://docs.python.org/3/whatsnew/3.11.html#porting-to-python-3-11
--
Sincerely,
Dima (fluffy@FreeBSD.org, https://t.me/FluffyBSD)
(desktop, kde, x11, office, ports-secteam)@FreeBSD team