aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/FreeWnn-lib
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1995-03-04 08:49:17 +0800
committerasami <asami@FreeBSD.org>1995-03-04 08:49:17 +0800
commita1c6abedfa57882b97c5813c3588fac5a29b312a (patch)
treedf034b106c0a115b6a09ab975852c9b2aced7fd7 /japanese/FreeWnn-lib
parent2a84a00978ec180f552ce7d31ac3fd1c9db21492 (diff)
downloadfreebsd-ports-gnome-a1c6abedfa57882b97c5813c3588fac5a29b312a.tar.gz
freebsd-ports-gnome-a1c6abedfa57882b97c5813c3588fac5a29b312a.tar.zst
freebsd-ports-gnome-a1c6abedfa57882b97c5813c3588fac5a29b312a.zip
Fix to make it work for local Unix domain sockets (no JSERVER env variable
set, for example).
Diffstat (limited to 'japanese/FreeWnn-lib')
-rw-r--r--japanese/FreeWnn-lib/files/patch-ab11
1 files changed, 11 insertions, 0 deletions
diff --git a/japanese/FreeWnn-lib/files/patch-ab b/japanese/FreeWnn-lib/files/patch-ab
new file mode 100644
index 000000000000..594d6b6ab1e1
--- /dev/null
+++ b/japanese/FreeWnn-lib/files/patch-ab
@@ -0,0 +1,11 @@
+--- ./Wnn/jlib/js.c.org Thu Aug 18 18:30:48 1994
++++ ./Wnn/jlib/js.c Fri Mar 3 05:20:31 1995
+@@ -221,7 +221,7 @@
+ #endif
+ return -1;
+ }
+- if (connect(sd,(caddr_t)&saddr,strlen(saddr.sun_path)+sizeof(saddr.sun_family)) == ERROR) {
++ if (connect(sd,(caddr_t)&saddr,SUN_LEN(&saddr)) == ERROR) {
+
+ #if DEBUG
+ xerror("jslib:Can't connect socket.\n");