diff options
Diffstat (limited to 'source/d')
-rw-r--r-- | source/d/gdb/1add37b567a7dee39d99f37b37802034c3fce9c4.patch | 37 | ||||
-rwxr-xr-x | source/d/gdb/gdb.SlackBuild | 3 |
2 files changed, 0 insertions, 40 deletions
diff --git a/source/d/gdb/1add37b567a7dee39d99f37b37802034c3fce9c4.patch b/source/d/gdb/1add37b567a7dee39d99f37b37802034c3fce9c4.patch deleted file mode 100644 index 1e874f159..000000000 --- a/source/d/gdb/1add37b567a7dee39d99f37b37802034c3fce9c4.patch +++ /dev/null @@ -1,37 +0,0 @@ -From 1add37b567a7dee39d99f37b37802034c3fce9c4 Mon Sep 17 00:00:00 2001 -From: Andreas Schwab <schwab@linux-m68k.org> -Date: Sun, 20 Mar 2022 14:01:54 +0100 -Subject: [PATCH] Add support for readline 8.2 - -In readline 8.2 the type of rl_completer_word_break_characters changed to -include const. ---- - gdb/completer.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/gdb/completer.c b/gdb/completer.c -index d3900ae2014..a51c16ac7f8 100644 ---- a/gdb/completer.c -+++ b/gdb/completer.c -@@ -36,7 +36,7 @@ - calling a hook instead so we eliminate the CLI dependency. */ - #include "gdbcmd.h" - --/* Needed for rl_completer_word_break_characters() and for -+/* Needed for rl_completer_word_break_characters and for - rl_filename_completion_function. */ - #include "readline/readline.h" - -@@ -2011,7 +2011,7 @@ gdb_completion_word_break_characters_throw () - rl_basic_quote_characters = NULL; - } - -- return rl_completer_word_break_characters; -+ return (char *) rl_completer_word_break_characters; - } - - char * --- -2.31.1 - - diff --git a/source/d/gdb/gdb.SlackBuild b/source/d/gdb/gdb.SlackBuild index 4984f9e5e..5e5ea831a 100755 --- a/source/d/gdb/gdb.SlackBuild +++ b/source/d/gdb/gdb.SlackBuild @@ -75,9 +75,6 @@ find . \ # This has been perpetually broken, so we'll default to turning it off: GUILE_OPTION=${GUILE_OPTION:"--without-guile"} -# Fix FTBFS with recent system readline: -zcat $CWD/1add37b567a7dee39d99f37b37802034c3fce9c4.patch.gz | patch -p1 --verbose || exit 1 - # Make a build directory: mkdir build-gdb cd build-gdb |