Cross-Platform build scripts for audio plugins
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
1.7KB

  1. diff -Naur Python-3.8.0-orig/configure.ac Python-3.8.0/configure.ac
  2. --- Python-3.8.0-orig/configure.ac 2019-10-22 10:01:01.887345400 +0300
  3. +++ Python-3.8.0/configure.ac 2019-10-22 10:01:03.821748800 +0300
  4. @@ -3188,6 +3188,13 @@
  5. *-*-mingw*) USE_WIN32_MODULE=;;
  6. esac
  7. +# Determine if pwdmodule should be used.
  8. +AC_SUBST(USE_PWD_MODULE)
  9. +USE_PWD_MODULE=
  10. +case $host in
  11. + *-*-mingw*) USE_PWD_MODULE='#';;
  12. +esac
  13. +
  14. # Templates for things AC_DEFINEd more than once.
  15. # For a single AC_DEFINE, no template is needed.
  16. AH_TEMPLATE(_REENTRANT,
  17. diff -Naur Python-3.8.0-orig/Modules/Setup Python-3.8.0/Modules/Setup
  18. --- Python-3.8.0-orig/Modules/Setup 2019-10-22 10:00:57.394537500 +0300
  19. +++ Python-3.8.0/Modules/Setup 2019-10-22 10:01:04.227349500 +0300
  20. @@ -102,8 +102,6 @@
  21. # setup.py script in the root of the Python source tree.
  22. errno errnomodule.c # posix (UNIX) errno values
  23. -pwd pwdmodule.c # this is needed to find out the user's home dir
  24. - # if $HOME is not set
  25. _sre _sre.c # Fredrik Lundh's new regular expressions
  26. _codecs _codecsmodule.c # access to the builtin codecs and codec registry
  27. _weakref _weakref.c # weak references
  28. diff -Naur Python-3.8.0-orig/Modules/Setup.config.in Python-3.8.0/Modules/Setup.config.in
  29. --- Python-3.8.0-orig/Modules/Setup.config.in 2019-10-22 10:01:02.292946100 +0300
  30. +++ Python-3.8.0/Modules/Setup.config.in 2019-10-22 10:01:05.038550900 +0300
  31. @@ -6,6 +6,9 @@
  32. # init system calls(posix/nt/...) for INITFUNC (used by makesetup)
  33. @INITSYS@ -DPy_BUILD_CORE_BUILTIN -I$(srcdir)/Include/internal posixmodule.c
  34. +# This is needed to find out the user's home dir if $HOME is not set
  35. +@USE_PWD_MODULE@pwd pwdmodule.c
  36. +
  37. # build-in modules for windows platform:
  38. @USE_WIN32_MODULE@winreg ../PC/winreg.c