Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Sep 2012 06:16:06 +0500
From:      Jan Beich <jbeich@tormail.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/172077: [patch] devel/gdb: drop dependency on devel/readline
Message-ID:  <1TGgEu-00072L-0j@internal.tormail.org>
Resent-Message-ID: <201209260120.q8Q1K5rW024233@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         172077
>Category:       ports
>Synopsis:       [patch] devel/gdb: drop dependency on devel/readline
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 26 01:20:05 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Jan Beich
>Release:        FreeBSD 10.0-CURRENT amd64
>Organization:
>Environment:
http://sourceware.org/git/?p=gdb.git;a=blobdiff;f=gdb/tui/tui-io.c;h=afcd9f9
>Description:
Partially revert r289869. readline removal from base was met with flak[1].

[1] http://marc.info/?l=freebsd-current&m=132254304216015
>How-To-Repeat:
>Fix:
--- base_readline.diff begins here ---
Index: devel/gdb/Makefile
===================================================================
--- devel/gdb/Makefile	(revision 304222)
+++ devel/gdb/Makefile	(working copy)
@@ -39,9 +39,9 @@ MAN1=	gdb${VER}.1
 
 ONLY_FOR_ARCHS=	i386 amd64	# untested elsewhere, might work
 
-# Forcing to use readline.6 from ports (newer readline in FreeBSD world is not
-# compatible anymore).
-USE_READLINE=	port
+# renamed in readline 6.0
+CFLAGS+=	-D_rl_echoing_p=readline_echoing_p
+USE_READLINE=	base
 
 OPTIONS_DEFINE=	DEBUG EXPAT PYTHON THREADS GDB_LINK
 GDB_LINK_DESC=	Create the gdb link
--- base_readline.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1TGgEu-00072L-0j>