Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jul 2004 08:47:30 -0500
From:      Frank Laszlo <laszlof@vonostingroup.com>
To:        Volker Stolz <vs@FreeBSD.org>
Cc:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/69352: Fix for ports/61297 (readline port)
Message-ID:  <40FE73F2.80501@vonostingroup.com>
In-Reply-To: <200407211120.i6LBKwcC024133@freefall.freebsd.org>
References:  <200407211120.i6LBKwcC024133@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------030204020700070501010608
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Here is the patch in unified diff format. Maybe someone should point 
this at the maintainer for readline in base? Thanks.

Frank Laszlo

--------------030204020700070501010608
Content-Type: text/plain;
 name="readline.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="readline.patch"

diff -rNU3 readline.old/Makefile readline/Makefile
--- readline.old/Makefile	Sun Dec 28 05:32:48 2003
+++ readline/Makefile	Wed Jul 21 08:46:39 2004
@@ -7,6 +7,7 @@
 
 PORTNAME=	readline
 PORTVERSION=	4.3
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	ftp://ftp.cwru.edu/pub/bash/
 
diff -rNU3 readline.old/files/patch-aa readline/files/patch-aa
--- readline.old/files/patch-aa	Wed Dec 31 19:00:00 1969
+++ readline/files/patch-aa	Tue Jul 20 13:28:09 2004
@@ -0,0 +1,16 @@
+*** ../readline-4.3/bind.c	Thu Jan 24 11:15:52 2002
+--- bind.c	Wed Jul 31 09:11:18 2002
+***************
+*** 312,316 ****
+  	     and the function bound  to `a' to be executed when the user
+  	     types `abx', leaving `bx' in the input queue. */
+! 	  if (k.function /* && k.type == ISFUNC */)
+  	    {
+  	      map[ANYOTHERKEY] = k;
+--- 312,316 ----
+  	     and the function bound  to `a' to be executed when the user
+  	     types `abx', leaving `bx' in the input queue. */
+! 	  if (k.function && ((k.type == ISFUNC && k.function != rl_do_lowercase_version) || k.type == ISMACR))
+  	    {
+  	      map[ANYOTHERKEY] = k;
+

--------------030204020700070501010608--



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