]> git.pld-linux.org Git - packages/ecasound.git/commitdiff
- fix for readline 4.2.
authorkloczek <kloczek@pld-linux.org>
Sun, 22 Apr 2001 23:02:03 +0000 (23:02 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ecasound-readline.patch -> 1.1

ecasound-readline.patch [new file with mode: 0644]

diff --git a/ecasound-readline.patch b/ecasound-readline.patch
new file mode 100644 (file)
index 0000000..7cba735
--- /dev/null
@@ -0,0 +1,24 @@
+--- ecasound-1.9dev1/ecasound/eca-text.cpp~    Wed Jan 17 21:45:40 2001
++++ ecasound-1.9dev1/ecasound/eca-text.cpp     Mon Apr 23 00:04:09 2001
+@@ -48,8 +48,12 @@
+ #endif
+ #define READLINE_LIBRARY
++#undef __P
++#define __P(args) args
+ #include <readline.h>
+ #include <history.h>
++#undef __P
++#define __P(args) args __THROW
+ #include "textdebug.h"
+ #include "eca-text.h"
+@@ -301,7 +305,7 @@
+   // complete only the first command, otherwise complete files in 
+   // the current directory
+   if (start == 0)
+-    matches = completion_matches (text, (CPFunction *)ecasound_command_generator);
++    matches = rl_completion_matches (text, (CPFunction *)ecasound_command_generator);
+   return (matches);
+ }
This page took 0.10329 seconds and 4 git commands to generate.