diff options
author | kwm <kwm@FreeBSD.org> | 2014-04-30 05:05:43 +0800 |
---|---|---|
committer | kwm <kwm@FreeBSD.org> | 2014-04-30 05:05:43 +0800 |
commit | 4b09a73971f8df49f9199d16054b5e306ecfc908 (patch) | |
tree | a8e80828c5c748c6859e15b4572001daaa013ede /devel | |
parent | 1ee17ec5d8451654a104241b8e4fae59ab3271c2 (diff) | |
download | freebsd-ports-gnome-4b09a73971f8df49f9199d16054b5e306ecfc908.tar.gz freebsd-ports-gnome-4b09a73971f8df49f9199d16054b5e306ecfc908.tar.zst freebsd-ports-gnome-4b09a73971f8df49f9199d16054b5e306ecfc908.zip |
Fix the build with readline from ports.
PR: ports/188670 [1]
ports/187883 [2]
Submitted by: John Hein <john.hein@microsemi.com> [1]
truckman@
Diffstat (limited to 'devel')
-rw-r--r-- | devel/seed/files/patch-modules_readline_seed-readline.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/devel/seed/files/patch-modules_readline_seed-readline.c b/devel/seed/files/patch-modules_readline_seed-readline.c new file mode 100644 index 000000000000..b1f011aed99c --- /dev/null +++ b/devel/seed/files/patch-modules_readline_seed-readline.c @@ -0,0 +1,15 @@ +'Function' is deprecated - patch to work with older readline API +(e.g., currently in base) or new (e.g., readline 6.3.3 in ports). + +http://lists.gnu.org/archive/html/bug-readline/2014-03/msg00002.html + +--- modules/readline/seed-readline.c.orig 2010-08-30 15:37:39.000000000 -0600 ++++ modules/readline/seed-readline.c 2014-04-15 13:00:13.000000000 -0600 +@@ -77,7 +77,7 @@ + key = seed_value_to_string(ctx, arguments[0], exception); + c = seed_make_rl_closure((SeedObject) arguments[1]); + +- rl_bind_key(*key, (Function *) c); ++ rl_bind_key(*key, (rl_command_func_t *) c); + + g_free(key); |