From owner-svn-ports-all@FreeBSD.ORG Sat Jul 5 21:49:04 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 990DDE61; Sat, 5 Jul 2014 21:49:04 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 85D6120A2; Sat, 5 Jul 2014 21:49:04 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s65Ln49w090760; Sat, 5 Jul 2014 21:49:04 GMT (envelope-from marino@svn.freebsd.org) Received: (from marino@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s65Ln4Pf090759; Sat, 5 Jul 2014 21:49:04 GMT (envelope-from marino@svn.freebsd.org) Message-Id: <201407052149.s65Ln4Pf090759@svn.freebsd.org> From: John Marino Date: Sat, 5 Jul 2014 21:49:04 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r360824 - head/lang/mdk/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jul 2014 21:49:04 -0000 Author: marino Date: Sat Jul 5 21:49:04 2014 New Revision: 360824 URL: http://svnweb.freebsd.org/changeset/ports/360824 QAT: https://qat.redports.org/buildarchive/r360824/ Log: lang/mdk: Fix support for ports readline (dports) Added: head/lang/mdk/files/ head/lang/mdk/files/patch-mixutils_mixvm__command.c (contents, props changed) Added: head/lang/mdk/files/patch-mixutils_mixvm__command.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/mdk/files/patch-mixutils_mixvm__command.c Sat Jul 5 21:49:04 2014 (r360824) @@ -0,0 +1,20 @@ +--- mixutils/mixvm_command.c.orig 2008-03-20 13:44:32.000000000 +0000 ++++ mixutils/mixvm_command.c +@@ -80,7 +80,7 @@ mix_vm_command_info_t commands[] = { + { "prompt", cmd_prompt_, N_("Set command prompt"), "prompt PROMPT" }, + { "shell", cmd_shell_, N_("Execute shell command"), "shell COMMAND" }, + { "quit", cmd_quit_, N_("Quit the program"), "quit" }, +- { (char *)NULL, (Function *)NULL, (char *)NULL } ++ { (char *)NULL, (rl_hook_func_t *)NULL, (char *)NULL } + }; + + +@@ -217,7 +217,7 @@ mixvm_cmd_init (mix_config_t *config, ch + + #ifdef HAVE_LIBREADLINE + /* Tell the completer that we want a crack first. */ +- rl_attempted_completion_function = (CPPFunction *)mixvm_cmd_completion_; ++ rl_attempted_completion_function = (rl_completion_func_t *)mixvm_cmd_completion_; + #endif /* HAVE_LIBREADLINE */ + + /* initialise the dispatcher */