diff options
Diffstat (limited to 'python3/files/01-socketmodule-no-hstrerror.patch')
| -rw-r--r-- | python3/files/01-socketmodule-no-hstrerror.patch | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/python3/files/01-socketmodule-no-hstrerror.patch b/python3/files/01-socketmodule-no-hstrerror.patch new file mode 100644 index 0000000..ccb7e7f --- /dev/null +++ b/python3/files/01-socketmodule-no-hstrerror.patch @@ -0,0 +1,10 @@ +--- a/Modules/socketmodule.c Tue Dec 6 20:05:27 2022 ++++ b/Modules/socketmodule.c Thu Feb 2 22:07:31 2023 +@@ -232,6 +232,7 @@ + /* Solaris fails to define this variable at all. */ + #if (defined(__sun) && defined(__SVR4)) && !defined(INET_ADDRSTRLEN) + #define INET_ADDRSTRLEN 16 ++#undef HAVE_HSTRERROR + #endif + + /* Generic includes */ |
