diff options
author | asami <asami@FreeBSD.org> | 1996-04-23 15:39:41 +0800 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1996-04-23 15:39:41 +0800 |
commit | f3d9ad23d2efef115979c2b29541768642b0e7da (patch) | |
tree | 2f2ab37d00542edca6a0fad176630eededb46727 /japanese/FreeWnn-lib | |
parent | 672dd2e4b9b0d80c58ac9f841507f517745f531f (diff) | |
download | freebsd-ports-gnome-f3d9ad23d2efef115979c2b29541768642b0e7da.tar.gz freebsd-ports-gnome-f3d9ad23d2efef115979c2b29541768642b0e7da.tar.zst freebsd-ports-gnome-f3d9ad23d2efef115979c2b29541768642b0e7da.zip |
Fix to recognize tty names over `f' (e.g., ttyph).
Diffstat (limited to 'japanese/FreeWnn-lib')
-rw-r--r-- | japanese/FreeWnn-lib/files/patch-ac | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/japanese/FreeWnn-lib/files/patch-ac b/japanese/FreeWnn-lib/files/patch-ac new file mode 100644 index 000000000000..716c90907ec6 --- /dev/null +++ b/japanese/FreeWnn-lib/files/patch-ac @@ -0,0 +1,17 @@ +--- ./Wnn/uum/jhlp.c.org Thu Aug 18 18:32:12 1994 ++++ ./Wnn/uum/jhlp.c Tue Mar 26 00:34:49 1996 +@@ -1636,7 +1636,14 @@ + char *b, *pty; + int no; + { ++#ifdef __FreeBSD__ ++ if (no & 0x1f > 9) ++ sprintf(b, "%s%1c%1c", pty, 'p' + (no >> 5), 'a' + (no & 0x1f)); ++ else ++ sprintf(b, "%s%1c%1c", pty, 'p' + (no >> 5), '0' + (no & 0x1f)); ++#else + sprintf(b, "%s%1c%1x", pty, 'p' + (no >> 4), no & 0x0f); ++#endif + } + #endif /* !sgi */ + |