mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 03:27:44 +00:00
Ports: Fix compilation of python3 socket module
This commit is contained in:
parent
d9832f8d0b
commit
430e5d27aa
2 changed files with 15 additions and 0 deletions
11
Ports/python3/patches/include-sys-uio.patch
Normal file
11
Ports/python3/patches/include-sys-uio.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- Python-3.10.0rc1/Modules/socketmodule.c 2021-09-09 01:14:41.120232921 +0800
|
||||
+++ Python-3.10.0rc1/Modules/socketmodule.c 2021-08-03 03:53:59.000000000 +0800
|
||||
@@ -171,7 +171,7 @@
|
||||
# undef HAVE_GETHOSTBYNAME_R_6_ARG
|
||||
#endif
|
||||
|
||||
-#if defined(__OpenBSD__)
|
||||
+#if defined(__OpenBSD__) || defined(__serenity__)
|
||||
# include <sys/uio.h>
|
||||
#endif
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue