ports/net/synergy/patches/patch-src_lib_ipc_IpcClientProxy_cpp

19 lines
675 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
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;
}