ports/172077: [patch] devel/gdb: drop dependency on devel/readline
Jan Beich
jbeich at tormail.org
Wed Sep 26 01:20:06 UTC 2012
>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:
More information about the freebsd-ports-bugs
mailing list