Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Mar 2024 04:49:55 GMT
From:      Kevin Bowling <kbowling@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: e023cb750b36 - main - emulators/open-simh: Unbreak on -CURRENT
Message-ID:  <202403210449.42L4ntlj074159@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by kbowling:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e023cb750b3659274a664948db78480c4083eab9

commit e023cb750b3659274a664948db78480c4083eab9
Author:     Kevin Bowling <kbowling@FreeBSD.org>
AuthorDate: 2024-03-21 04:47:39 +0000
Commit:     Kevin Bowling <kbowling@FreeBSD.org>
CommitDate: 2024-03-21 04:47:39 +0000

    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.
---
 emulators/open-simh/files/patch-sim__sock.c | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/emulators/open-simh/files/patch-sim__sock.c b/emulators/open-simh/files/patch-sim__sock.c
new file mode 100644
index 000000000000..3efc4d002fe8
--- /dev/null
+++ b/emulators/open-simh/files/patch-sim__sock.c
@@ -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);
+ }
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202403210449.42L4ntlj074159>