diff options
author | roy <roy@pkgsrc.org> | 2011-12-07 16:05:59 +0000 |
---|---|---|
committer | roy <roy@pkgsrc.org> | 2011-12-07 16:05:59 +0000 |
commit | 41cae8fb9191f9f243429b32153613013ae5b306 (patch) | |
tree | 375572210e179572d9c852b60ade42d037928926 /inputmethod | |
parent | 93613edf0afa654099833d64a1f804e31471dd9c (diff) | |
download | pkgsrc-41cae8fb9191f9f243429b32153613013ae5b306.tar.gz |
Fix tparm calls to the POSIX standard.
Remove non-standard resetterm call as it calls reset_shell_mode anyway.
Diffstat (limited to 'inputmethod')
-rw-r--r-- | inputmethod/canna/distinfo | 5 | ||||
-rw-r--r-- | inputmethod/canna/patches/patch-an | 11 | ||||
-rw-r--r-- | inputmethod/canna/patches/patch-ap | 30 |
3 files changed, 43 insertions, 3 deletions
diff --git a/inputmethod/canna/distinfo b/inputmethod/canna/distinfo index 906076b1088..96d408a61e5 100644 --- a/inputmethod/canna/distinfo +++ b/inputmethod/canna/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.9 2008/09/18 12:33:44 taca Exp $ +$NetBSD: distinfo,v 1.10 2011/12/07 16:05:59 roy Exp $ SHA1 (Canna36p4.tar.gz) = 4edc22e2e4e5c6db42daa2083fabb53aa1ae8168 RMD160 (Canna36p4.tar.gz) = 7f8bb7f5d87e6b939ff2b84edf58072c75a5d09d @@ -16,5 +16,6 @@ SHA1 (patch-aj) = 30d19c8ef9c1129e5214cb9a8a1d8b2b636b0361 SHA1 (patch-ak) = 18b408344b8b617142ced8804990e87b7ae27f56 SHA1 (patch-al) = f6025d6fb7a3247ef44b0a50ae13b67ef3dad2d9 SHA1 (patch-am) = 756aed6fc81a9d75a55d123c8dc00c0932b8df7f -SHA1 (patch-an) = d639f774bf9ef440458bfc716b211a1dcc95a823 +SHA1 (patch-an) = ef892b0837e7b3b5b569a7a9a518df2379c43f1c SHA1 (patch-ao) = c577319f50df6624333726cd62b48d869989d881 +SHA1 (patch-ap) = 3f514037c4d67b2e18b27285370fe2ea84d977cc diff --git a/inputmethod/canna/patches/patch-an b/inputmethod/canna/patches/patch-an index 6d593e85140..d19339a2063 100644 --- a/inputmethod/canna/patches/patch-an +++ b/inputmethod/canna/patches/patch-an @@ -1,4 +1,4 @@ -$NetBSD: patch-an,v 1.1 2005/12/30 15:16:21 joerg Exp $ +$NetBSD: patch-an,v 1.2 2011/12/07 16:05:59 roy Exp $ --- canuum/canna.c.orig 2005-12-30 14:56:11.000000000 +0000 +++ canuum/canna.c @@ -11,3 +11,12 @@ $NetBSD: patch-an,v 1.1 2005/12/30 15:16:21 joerg Exp $ static int maxmodelen; static int maxwidth = 0; +@@ -1268,7 +1266,7 @@ + cannakeyentry(key_end, CANNA_KEY_End); + #endif + +- resetterm(); ++ reset_shell_mode(); + #endif + + if (terminalname = malloc(strlen(term) + 1)) { diff --git a/inputmethod/canna/patches/patch-ap b/inputmethod/canna/patches/patch-ap new file mode 100644 index 00000000000..b3273be54aa --- /dev/null +++ b/inputmethod/canna/patches/patch-ap @@ -0,0 +1,30 @@ +$NetBSD: patch-ap,v 1.1 2011/12/07 16:05:59 roy Exp $ + +--- canuum/termio.c.orig 2011-12-07 13:20:41.000000000 +0000 ++++ canuum/termio.c 2011-12-07 15:58:50.000000000 +0000 +@@ -175,7 +175,6 @@ + void + closeTermData () + { +- resetterm (); + reset_shell_mode (); + } + +@@ -195,7 +194,7 @@ + set_scroll_region (start, end) + int start, end; + { +- tputs (tparm (change_scroll_region, start, end), 1, putchar); ++ tputs (tparm (change_scroll_region, start, end, 0, 0, 0, 0, 0, 0, 0), 1, putchar); + } + + void +@@ -223,7 +222,7 @@ + throw_cur_raw (col, row) + int col, row; + { +- tputs (tparm (cursor_address, row, col), 1, putchar); ++ tputs (tparm (cursor_address, row, col, 0, 0, 0, 0, 0, 0, 0), 1, putchar); + } + + void |