X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/798619b91c91405f847b0e48137239f218a4cf15..59f0d218a6ff34c80cf898f6d7ac62555ba8eb11:/packages/gdb/readline.patch diff --git a/packages/gdb/readline.patch b/packages/gdb/readline.patch new file mode 100644 index 00000000..81d2786a --- /dev/null +++ b/packages/gdb/readline.patch @@ -0,0 +1,12 @@ +diff -u -r ../gdb-7.6.2/readline/complete.c ./readline/complete.c +--- ../gdb-7.6.2/readline/complete.c 2013-12-08 05:11:52.000000000 +0100 ++++ ./readline/complete.c 2014-01-07 16:43:59.170309785 +0100 +@@ -2026,7 +2026,7 @@ + const char *text; + int state; + { +-#if defined (__WIN32__) || defined (__OPENNT) ++#if defined (__WIN32__) || defined (__OPENNT) || defined (__ANDROID__) + return (char *)NULL; + #else /* !__WIN32__ && !__OPENNT) */ + static char *username = (char *)NULL;