unrar: make getpass() static
authorLeonid Plyushch <leonid.plyushch@gmail.com>
Thu, 14 Sep 2017 17:46:28 +0000 (20:46 +0300)
committerFredrik Fornwall <fredrik@fornwall.net>
Thu, 14 Sep 2017 18:26:17 +0000 (20:26 +0200)
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;
 +