summaryrefslogtreecommitdiff
path: root/inputmethod/unicon-im/patches
diff options
context:
space:
mode:
Diffstat (limited to 'inputmethod/unicon-im/patches')
-rw-r--r--inputmethod/unicon-im/patches/patch-aj22
-rw-r--r--inputmethod/unicon-im/patches/patch-ak15
-rw-r--r--inputmethod/unicon-im/patches/patck-al22
3 files changed, 59 insertions, 0 deletions
diff --git a/inputmethod/unicon-im/patches/patch-aj b/inputmethod/unicon-im/patches/patch-aj
new file mode 100644
index 00000000000..29a4799458c
--- /dev/null
+++ b/inputmethod/unicon-im/patches/patch-aj
@@ -0,0 +1,22 @@
+$NetBSD: patch-aj,v 1.1 2007/03/24 16:04:56 joerg Exp $
+
+--- server/TLS_PthSocket.cpp.orig 2000-05-12 06:53:46.000000000 +0000
++++ server/TLS_PthSocket.cpp
+@@ -58,7 +58,7 @@ int TLS_CPthSocket::PollWrite (char *buf
+ return b;
+ }
+
+-int TLS_CPthSocket::read (void *buf, int buflen)
++int TLS_CPthSocket::socket_read (void *buf, int buflen)
+ {
+ short len;
+ #ifdef __IMM_DEBUG__
+@@ -77,7 +77,7 @@ int TLS_CPthSocket::read (void *buf, int
+ return len;
+ }
+
+-int TLS_CPthSocket::write (void *buf, int len)
++int TLS_CPthSocket::socket_write (void *buf, int len)
+ {
+ short len0 = len;
+ #ifdef __IMM_DEBUG__
diff --git a/inputmethod/unicon-im/patches/patch-ak b/inputmethod/unicon-im/patches/patch-ak
new file mode 100644
index 00000000000..1fa216394eb
--- /dev/null
+++ b/inputmethod/unicon-im/patches/patch-ak
@@ -0,0 +1,15 @@
+$NetBSD: patch-ak,v 1.1 2007/03/24 16:04:56 joerg Exp $
+
+--- server/TLS_PthSocket.hpp.orig 2007-03-24 15:47:15.000000000 +0000
++++ server/TLS_PthSocket.hpp
+@@ -11,8 +11,8 @@ private:
+ public:
+ TLS_CPthSocket (int fd);
+ ~TLS_CPthSocket ();
+- int read (void *buf, int len);
+- int write (void *buf, int len);
++ int socket_read (void *buf, int len);
++ int socket_write (void *buf, int len);
+ };
+
+ #endif
diff --git a/inputmethod/unicon-im/patches/patck-al b/inputmethod/unicon-im/patches/patck-al
new file mode 100644
index 00000000000..ccc03d2af5f
--- /dev/null
+++ b/inputmethod/unicon-im/patches/patck-al
@@ -0,0 +1,22 @@
+$NetBSD: patck-al,v 1.1 2007/03/24 16:04:56 joerg Exp $
+
+--- server/TLS_TcpipMain.cpp.orig 2000-06-14 04:00:01.000000000 +0000
++++ server/TLS_TcpipMain.cpp
+@@ -91,7 +91,7 @@ static void *handler(void *_arg)
+ printf ("========== Begin New Client Socket =========== \n");
+ /* read request */
+ while (bExit == 0) {
+- n = MyTLS_CPthSocket.read (caLine, MAXREQLINE);
++ n = MyTLS_CPthSocket.socket_read (caLine, MAXREQLINE);
+ if (n < 0) {
+ fprintf(stderr, "read error: errno=%d\n", errno);
+ close(fd);
+@@ -237,7 +237,7 @@ static void *handler(void *_arg)
+ }
+ /* simulate a little bit of processing ;) */
+ pth_yield (NULL);
+- n = MyTLS_CPthSocket.write (MemOut->pGetBuf (), MemOut->GetBufLen());
++ n = MyTLS_CPthSocket.socket_write (MemOut->pGetBuf (), MemOut->GetBufLen());
+ //pth_write(fd, MemOut->pGetBuf (), MemOut->GetBufLen());
+ }
+ /* close connection and let thread die */