Import of pkgsrc-2015Q1

This commit is contained in:
2015-04-22 14:34:26 +02:00
committed by Lionel Sambuc
parent 9a8c06dafb
commit 4af1cdf7a9
25114 changed files with 870550 additions and 795435 deletions

View File

@@ -0,0 +1,17 @@
$NetBSD: patch-src_readlineinit.c,v 1.1 2014/04/21 18:16:13 joerg Exp $
--- src/readlineinit.c.orig 2014-04-20 18:25:41.000000000 +0000
+++ src/readlineinit.c
@@ -20,9 +20,9 @@ char *editor;
* bind the tab key
*/
-rl_bind_key_in_map('\t', (Function *)handletab, vi_insertion_keymap);
-rl_bind_key_in_map('\t', (Function *)handletab, vi_movement_keymap);
-rl_bind_key_in_map('\t', (Function *)handletab, emacs_standard_keymap);
+rl_bind_key_in_map('\t', handletab, vi_insertion_keymap);
+rl_bind_key_in_map('\t', handletab, vi_movement_keymap);
+rl_bind_key_in_map('\t', handletab, emacs_standard_keymap);
rl_vi_editing_mode(0, ' '); /* default to vi, dammit. */
gv.editmode = "vi";