preload-hacks: Some patches to make it work.
[termux-packages] / packages / unrar / getpass.patch
index 7d70b79..ea7964b 100644 (file)
@@ -17,7 +17,7 @@ diff -uNr unrar.mod/consio.cpp unrar.mod2/consio.cpp
  
  #ifndef SILENT
 +#ifdef __ANDROID__
-+char* getpass(const char *prompt) {
++static char* getpass(const char *prompt) {
 +    struct termios term_old, term_new;
 +    int nread;
 +