From faafd1dca5aab751860b02154e0928fdf02d8601 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Fri, 25 Feb 2005 19:20:33 +0000 Subject: [PATCH] Clifford Wolf: Fixed ginac package [2005022213295007631] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@5661 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- package/jsaw/ginac/hotfixes.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 package/jsaw/ginac/hotfixes.patch diff --git a/package/jsaw/ginac/hotfixes.patch b/package/jsaw/ginac/hotfixes.patch new file mode 100644 index 000000000..13f3c6f69 --- /dev/null +++ b/package/jsaw/ginac/hotfixes.patch @@ -0,0 +1,20 @@ +--- ./ginsh/ginsh_parser.yy.orig 2005-02-22 13:22:31.395437640 +0100 ++++ ./ginsh/ginsh_parser.yy 2005-02-22 13:23:02.008783704 +0100 +@@ -797,7 +797,7 @@ + // For shell commands, revert back to filename completion + rl_completion_append_character = orig_completion_append_character; + rl_basic_word_break_characters = orig_basic_word_break_characters; +- rl_completer_word_break_characters = rl_basic_word_break_characters; ++ rl_completer_word_break_characters = (char*)rl_basic_word_break_characters; + #if (GINAC_RL_VERSION_MAJOR < 4) || (GINAC_RL_VERSION_MAJOR == 4 && GINAC_RL_VERSION_MINOR < 2) + return completion_matches(const_cast(text), (CPFunction *)filename_completion_function); + #else +@@ -807,7 +807,7 @@ + // Otherwise, complete function names + rl_completion_append_character = '('; + rl_basic_word_break_characters = " \t\n\"#$%&'()*+,-./:;<=>?@[\\]^`{|}~"; +- rl_completer_word_break_characters = rl_basic_word_break_characters; ++ rl_completer_word_break_characters = (char*)rl_basic_word_break_characters; + #if (GINAC_RL_VERSION_MAJOR < 4) || (GINAC_RL_VERSION_MAJOR == 4 && GINAC_RL_VERSION_MINOR < 2) + return completion_matches(const_cast(text), (CPFunction *)fcn_generator); + #else