1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-25 14:35:07 +00:00
serenity/Ports/python3/patches/include-sys-uio.patch
Linus Groh 6d9a1d3c93 Ports: Update Python to 3.10.1 :^)
This was released a couple of days ago, on 2021-12-06 and contains
various changes that we previously needed custom patches for, so we are
now able to remove those and compile more unchanged upstream sources.
Thanks to Rodrigo for making that effort! :^)
2021-12-11 19:02:00 +00:00

11 lines
330 B
Diff

--- Python-3.10.1/Modules/socketmodule.c 2021-09-09 01:14:41.120232921 +0800
+++ Python-3.10.1/Modules/socketmodule.c 2021-08-03 03:53:59.000000000 +0800
@@ -168,7 +168,7 @@
# undef HAVE_GETHOSTBYNAME_R_6_ARG
#endif
-#if defined(__OpenBSD__)
+#if defined(__OpenBSD__) || defined(__serenity__)
# include <sys/uio.h>
#endif