diff options
Diffstat (limited to 'tools/depends/target/python3/01-GH-27394-move-crypt-h.patch')
-rw-r--r-- | tools/depends/target/python3/01-GH-27394-move-crypt-h.patch | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/tools/depends/target/python3/01-GH-27394-move-crypt-h.patch b/tools/depends/target/python3/01-GH-27394-move-crypt-h.patch deleted file mode 100644 index 352eaa48cd..0000000000 --- a/tools/depends/target/python3/01-GH-27394-move-crypt-h.patch +++ /dev/null @@ -1,34 +0,0 @@ ---- a/Include/Python.h -+++ b/Include/Python.h -@@ -35,19 +35,6 @@ - #ifndef MS_WINDOWS - #include <unistd.h> - #endif --#ifdef HAVE_CRYPT_H --#if defined(HAVE_CRYPT_R) && !defined(_GNU_SOURCE) --/* Required for glibc to expose the crypt_r() function prototype. */ --# define _GNU_SOURCE --# define _Py_GNU_SOURCE_FOR_CRYPT --#endif --#include <crypt.h> --#ifdef _Py_GNU_SOURCE_FOR_CRYPT --/* Don't leak the _GNU_SOURCE define to other headers. */ --# undef _GNU_SOURCE --# undef _Py_GNU_SOURCE_FOR_CRYPT --#endif --#endif - - /* For size_t? */ - #ifdef HAVE_STDDEF_H ---- a/Modules/_cryptmodule.c -+++ b/Modules/_cryptmodule.c -@@ -4,6 +4,9 @@ - #include "Python.h" - - #include <sys/types.h> -+#ifdef HAVE_CRYPT_H -+#include <crypt.h> -+#endif - - /* Module crypt */ - |