SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,18 @@
On loongson/sparc64/hppa/riscv:
Same as IpcServerProxy.cpp
Index: src/lib/ipc/IpcClientProxy.cpp
--- src/lib/ipc/IpcClientProxy.cpp.orig
+++ src/lib/ipc/IpcClientProxy.cpp
@@ -147,7 +147,11 @@ IpcClientProxy::send(const IpcMessage& message)
case kIpcLogLine: {
const IpcLogLineMessage& llm = static_cast<const IpcLogLineMessage&>(message);
String logLine = llm.logLine();
+#if defined(__mips64__) || defined(__sparc64__) || defined(__hppa__) || defined(__riscv)
+ ProtocolUtil::writef(static_cast<void*>(&m_stream), static_cast<const char*>(kIpcMsgLogLine), &logLine);
+#else
ProtocolUtil::writef(&m_stream, kIpcMsgLogLine, &logLine);
+#endif
break;
}