diff options
author | Thomas Zander <riggs@FreeBSD.org> | 2016-05-14 07:50:49 +0000 |
---|---|---|
committer | Thomas Zander <riggs@FreeBSD.org> | 2016-05-14 07:50:49 +0000 |
commit | 18594634b1e884ee522c9d4eb11661dbf28447d6 (patch) | |
tree | 8fa09b9f624cd649ab57640c2cc0209564f2ecba /devel/gdb | |
parent | c941c0a008a3b8d8711374b1b3f331532a60a791 (diff) | |
download | ports-18594634b1e884ee522c9d4eb11661dbf28447d6.tar.gz ports-18594634b1e884ee522c9d4eb11661dbf28447d6.zip |
Notes
Diffstat (limited to 'devel/gdb')
-rw-r--r-- | devel/gdb/Makefile | 5 | ||||
-rw-r--r-- | devel/gdb/files/extrapatch-base-readline | 11 |
2 files changed, 14 insertions, 2 deletions
diff --git a/devel/gdb/Makefile b/devel/gdb/Makefile index 2243970a6c45..2ceee41c30ed 100644 --- a/devel/gdb/Makefile +++ b/devel/gdb/Makefile @@ -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 BUNDLED_READLINE PORT_READLINE 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 diff --git a/devel/gdb/files/extrapatch-base-readline b/devel/gdb/files/extrapatch-base-readline new file mode 100644 index 000000000000..fba0f48ed649 --- /dev/null +++ b/devel/gdb/files/extrapatch-base-readline @@ -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; + |