summaryrefslogtreecommitdiff
path: root/deskutils/pal/files/patch-src_manage.c
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2016-11-20 04:33:15 +0000
committerJohn Marino <marino@FreeBSD.org>2016-11-20 04:33:15 +0000
commitd47b433978979eb2a39ba951200bf2c016818ccb (patch)
treec65724cae6b6bf732b25623b192cde31350eb513 /deskutils/pal/files/patch-src_manage.c
parentmail/spamdyke: Fix OPENSSL configuration, cleanup (diff)
deskutils/pal: Document ncurses, readline requirements, honor flags
Also: * Provide patch for ports readline support * Remove nonfunctional MAN1 definition * Remove unnecessary pre/post includes * Wrap to 80 columns Approved by: ncurses and general blankets
Notes
Notes: svn path=/head/; revision=426553
Diffstat (limited to 'deskutils/pal/files/patch-src_manage.c')
-rw-r--r--deskutils/pal/files/patch-src_manage.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/deskutils/pal/files/patch-src_manage.c b/deskutils/pal/files/patch-src_manage.c
new file mode 100644
index 000000000000..889441eae7b5
--- /dev/null
+++ b/deskutils/pal/files/patch-src_manage.c
@@ -0,0 +1,11 @@
+--- manage.c.orig 2008-07-28 16:16:23.000000000 +0000
++++ manage.c
+@@ -403,7 +403,7 @@ void pal_manage(void)
+ rl_initialize(); /* Initialise readline so we can fiddle stuff */
+ rl_already_prompted = 1;
+ rl_redisplay_function = pal_rl_ncurses_hack;
+- rl_pre_input_hook = (Function*) pal_rl_ncurses_hack;
++ rl_pre_input_hook = (rl_hook_func_t *) pal_rl_ncurses_hack;
+
+
+ /* initialize curses */