SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
18
net/synergy/patches/patch-src_lib_ipc_IpcClientProxy_cpp
Normal file
18
net/synergy/patches/patch-src_lib_ipc_IpcClientProxy_cpp
Normal 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;
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue