Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Apr 2014 21:05:43 +0000 (UTC)
From:      Koop Mast <kwm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r352643 - head/devel/seed/files
Message-ID:  <201404292105.s3TL5h0u039449@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404292105.s3TL5h0u039449>