CVSROOT:        /cvs
Module name:    ports
Changes by:     [email protected]   2022/11/01 10:18:23

Modified files:
        lang/python    : Makefile.inc 
        lang/python/3.10: Makefile 
        lang/python/3.10/files: CHANGES.OpenBSD 
        lang/python/3.10/pkg: PLIST-main 
        lang/python/3.11/files: CHANGES.OpenBSD 
        lang/python/3.11/pkg: PLIST-main PLIST-tests 
        lang/python/3.9: Makefile 
        lang/python/3.9/files: CHANGES.OpenBSD 
        lang/python/3.9/pkg: PLIST-main 
Added files:
        lang/python/3.10/patches: patch-Modules_readline_c 
        lang/python/3.11/patches: patch-Modules_readline_c 
        lang/python/3.9/patches: patch-Modules_readline_c 

Log message:
Patch Modules/readline.c to workaround an issue with the readline module
with Python 3.9+'s definition of PyMODINIT_FUNC and our readline headers
https://github.com/openbsd/src/blob/master/gnu/lib/libreadline/rlstdc.h#L41

(Due to some other strangeness in the build system, on 3.9 it rebuilt a
working version after the first attempt failed and the file was moved out
of the way, but that no longer happens with 3.10+ where readline just
failed).

Fix up PLISTs and WANTLIB for Python 3.11 while there.

Joint work with landry@ tb@ kmos@, ok tb kmos

Reply via email to