mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
emulators/open-simh: Unbreak on -CURRENT
The #define to enum shutdown_how change for shutdown(2) has broken this build. Remove the overridden SD_BOTH and directly call SHUT_RDWR for now.
This commit is contained in:
parent
d340d8ff32
commit
e023cb750b
11
emulators/open-simh/files/patch-sim__sock.c
Normal file
11
emulators/open-simh/files/patch-sim__sock.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- sim_sock.c.orig 2024-03-21 04:42:41 UTC
|
||||
+++ sim_sock.c
|
||||
@@ -1412,7 +1412,7 @@ void sim_close_sock (SOCKET sock)
|
||||
|
||||
void sim_close_sock (SOCKET sock)
|
||||
{
|
||||
-shutdown(sock, SD_BOTH);
|
||||
+shutdown(sock, SHUT_RDWR);
|
||||
closesocket (sock);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user