summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-04-03 18:22:36 +0000
committerMike Frysinger <vapier@gentoo.org>2012-04-03 18:22:36 +0000
commit29085ce8cc5ccf9f0c3e29488c065b177b91b271 (patch)
tree84bfb425af3fdf0abebcdcc3b395109683886632 /app-shells/bash/files
parentsci-physics/root: Imported latest fixes from sci overlay, including LD and CX... (diff)
downloadgentoo-2-29085ce8cc5ccf9f0c3e29488c065b177b91b271.tar.gz
gentoo-2-29085ce8cc5ccf9f0c3e29488c065b177b91b271.tar.bz2
gentoo-2-29085ce8cc5ccf9f0c3e29488c065b177b91b271.zip
More USE=-readline fixes.
(Portage version: 2.2.0_alpha95/cvs/Linux x86_64)
Diffstat (limited to 'app-shells/bash/files')
-rw-r--r--app-shells/bash/files/bash-4.2-no-readline.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/app-shells/bash/files/bash-4.2-no-readline.patch b/app-shells/bash/files/bash-4.2-no-readline.patch
new file mode 100644
index 000000000000..14eb6bf421e9
--- /dev/null
+++ b/app-shells/bash/files/bash-4.2-no-readline.patch
@@ -0,0 +1,19 @@
+fix building when readline is disabled
+
+--- a/builtins/complete.def
++++ b/builtins/complete.def
+@@ -49,6 +49,8 @@ $END
+
+ #include <config.h>
+
++#ifdef READLINE
++
+ #include <stdio.h>
+
+ #include "../bashtypes.h"
+@@ -867,3 +869,5 @@ compopt_builtin (list)
+
+ return (ret);
+ }
++
++#endif