build_os2emx.patch in issue 3868 - update OS/2 EMX makefile and config files
Part of source_os2emx.patch in issue 3868:
Include/pystrcmp.h: OS/2 has same C APIs as Windows
Lib/test/test_io.py: OS/2 has same behaviour as Windows for this test
Reviewed by Amaury Forgeot d'Arc
diff --git a/PC/os2emx/Makefile b/PC/os2emx/Makefile
index 2e9e50e..ff04f72 100644
--- a/PC/os2emx/Makefile
+++ b/PC/os2emx/Makefile
@@ -287,7 +287,7 @@
Modules/binascii.c \
Modules/cmathmodule.c \
Modules/_codecsmodule.c \
- Modules/collectionsmodule.c \
+ Modules/_collectionsmodule.c \
Modules/cPickle.c \
Modules/cStringIO.c \
Modules/_csv.c \
@@ -295,6 +295,7 @@
Modules/dlmodule.c \
Modules/errnomodule.c \
Modules/fcntlmodule.c \
+ Modules/_fileio.c \
Modules/_functoolsmodule.c \
Modules/_heapqmodule.c \
Modules/imageop.c \
@@ -305,7 +306,6 @@
Modules/md5module.c \
Modules/operator.c \
Modules/_randommodule.c \
- Modules/rgbimgmodule.c \
Modules/shamodule.c \
Modules/sha256module.c \
Modules/sha512module.c \
@@ -343,6 +343,8 @@
Python/compile.c \
Python/codecs.c \
Python/errors.c \
+ Python/formatter_string.c \
+ Python/formatter_unicode.c \
Python/frozen.c \
Python/frozenmain.c \
Python/future.c \
@@ -359,8 +361,10 @@
Python/modsupport.c \
Python/mysnprintf.c \
Python/mystrtoul.c \
+ Python/peephole.c \
Python/pyarena.c \
Python/pyfpe.c \
+ Python/pymath.c \
Python/pystate.c \
Python/pystrtod.c \
Python/pythonrun.c \
@@ -370,11 +374,14 @@
Python/traceback.c \
Python/getopt.c \
Python/dynload_shlib.c \
- Python/thread.c)
+ Python/thread.c \
+ Python/_warnings.c)
SRC.OBJECT= $(addprefix $(TOP), \
Objects/abstract.c \
Objects/boolobject.c \
Objects/bufferobject.c \
+ Objects/bytearrayobject.c \
+ Objects/bytes_methods.c \
Objects/cellobject.c \
Objects/classobject.c \
Objects/cobject.c \