svn commit: r415176 - in head/devel/gdb: . files
Thomas Zander
riggs at FreeBSD.org
Sat May 14 07:50:51 UTC 2016
Author: riggs
Date: Sat May 14 07:50:49 2016
New Revision: 415176
URL: https://svnweb.freebsd.org/changeset/ports/415176
Log:
Fix build with libreadline from base system (via BASE_READLINE OPTION)
PR: 209431
Submitted by: luca.pizzamiglio at gmail.com (maintainer)
MFH: 2016Q2 (ports secteam build fix blanket)
Added:
head/devel/gdb/files/extrapatch-base-readline (contents, props changed)
Modified:
head/devel/gdb/Makefile
Modified: head/devel/gdb/Makefile
==============================================================================
--- head/devel/gdb/Makefile Sat May 14 07:08:49 2016 (r415175)
+++ head/devel/gdb/Makefile Sat May 14 07:50:49 2016 (r415176)
@@ -3,7 +3,7 @@
PORTNAME= gdb
PORTVERSION= 7.11
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= GNU
@@ -45,7 +45,7 @@ OPTIONS_SINGLE_READLINE= BASE_READLINE B
GDB_LINK_DESC= Create ${PREFIX}/bin/gdb symlink
KGDB_DESC= Kernel Debugging Support
-BASE_READLINE_DESC= from base system (experimental)
+BASE_READLINE_DESC= from base system
BUNDLED_READLINE_DESC= from gdb distfile
PORT_READLINE_DESC= from devel/readline port
TUI_DESC= Text User Interface enabled
@@ -54,6 +54,7 @@ OPTIONS_SUB= yes
BASE_READLINE_USES= readline
BASE_READLINE_CFLAGS= -D_rl_echoing_p=readline_echoing_p
+BASE_READLINE_EXTRA_PATCHES= ${FILESDIR}/extrapatch-base-readline
BUNDLED_READLINE_CONFIGURE_OFF= --with-system-readline
DEBUG_CFLAGS= -g
EXPAT_CONFIGURE_WITH= expat
Added: head/devel/gdb/files/extrapatch-base-readline
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/gdb/files/extrapatch-base-readline Sat May 14 07:50:49 2016 (r415176)
@@ -0,0 +1,11 @@
+--- gdb/completer.c.orig 2016-05-10 14:11:58.546188879 +0200
++++ gdb/completer.c 2016-05-10 14:12:22.899187374 +0200
+@@ -1767,6 +1767,8 @@
+ return displayer->width;
+ }
+
++_rl_completion_prefix_display_length=0;
++rl_sort_completion_matches=1;
+ extern int _rl_completion_prefix_display_length;
+ extern int _rl_print_completions_horizontally;
+
More information about the svn-ports-head
mailing list