From 8da950620a5aff9c4ff1c2061712a6ae47aa8c22 Mon Sep 17 00:00:00 2001 From: Leonid Plyushch Date: Thu, 14 Sep 2017 20:46:28 +0300 Subject: [PATCH] unrar: make getpass() static --- packages/unrar/getpass.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/unrar/getpass.patch b/packages/unrar/getpass.patch index 7d70b79e..ea7964b8 100644 --- a/packages/unrar/getpass.patch +++ b/packages/unrar/getpass.patch @@ -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; + -- 2.11.0