svn commit: r352643 - head/devel/seed/files

Koop Mast kwm at FreeBSD.org
Tue Apr 29 21:05:44 UTC 2014


Author: kwm
Date: Tue Apr 29 21:05:43 2014
New Revision: 352643
URL: http://svnweb.freebsd.org/changeset/ports/352643
QAT: https://qat.redports.org/buildarchive/r352643/

Log:
  Fix the build with readline from ports.
  
  PR:		ports/188670 [1]
  		ports/187883 [2]
  Submitted by:	John Hein <john.hein at microsemi.com> [1]
  		truckman@

Added:
  head/devel/seed/files/patch-modules_readline_seed-readline.c   (contents, props changed)

Added: head/devel/seed/files/patch-modules_readline_seed-readline.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/seed/files/patch-modules_readline_seed-readline.c	Tue Apr 29 21:05:43 2014	(r352643)
@@ -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);


More information about the svn-ports-head mailing list