This is an automated email from the ASF dual-hosted git repository.

ardovm pushed a commit to branch python3-linux
in repository https://gitbox.apache.org/repos/asf/openoffice.git

commit fa8c1404cc5b2462350ec296f8eaaa4b8afe72a0
Author: Arrigo Marchiori <[email protected]>
AuthorDate: Sun Jul 5 16:52:44 2026 +0200

    Ensure that the pyexpat module is built
    
    Apply the same logic as for the _md5 and _shaXXX modules.
---
 main/python/makefile.mk          |  1 +
 main/python/python-pyexpat.patch | 11 +++++++++++
 2 files changed, 12 insertions(+)

diff --git a/main/python/makefile.mk b/main/python/makefile.mk
index 042a4cf092..f757899c9d 100644
--- a/main/python/makefile.mk
+++ b/main/python/makefile.mk
@@ -45,6 +45,7 @@ TARFILE_NAME=Python-$(PYVERSION)
 TARFILE_MD5=57f84cbd92d478ceff55217d88a07ded
 PATCH_FILES=\
        python-md5.patch \
+       python-pyexpat.patch \
        python-solver-before-std.patch \
        python-$(PYVERSION)-sysbase.patch \
        python-$(PYVERSION)-nohardlink.patch
diff --git a/main/python/python-pyexpat.patch b/main/python/python-pyexpat.patch
new file mode 100644
index 0000000000..756572d12d
--- /dev/null
+++ b/main/python/python-pyexpat.patch
@@ -0,0 +1,11 @@
+--- misc/Python-3.11.15/Modules/Setup  2026-03-03 01:52:57.000000000 +0100
++++ misc/build/Python-3.11.15/Modules/Setup    2026-07-04 12:51:02.908154677 
+0200
+@@ -159,7 +159,7 @@
+ 
+ # XML
+ #_elementtree _elementtree.c
+-#pyexpat pyexpat.c
++pyexpat pyexpat.c
+ 
+ # hashing builtins
+ #_blake2 _blake2/blake2module.c _blake2/blake2b_impl.c _blake2/blake2s_impl.c

Reply via email to