unrar: rewrite getpass() so password will not be echoed
[termux-packages] / packages / unrar / makefile.patch
index ef4b544..06860e0 100644 (file)
@@ -1,7 +1,7 @@
-diff -u -r ../unrar/makefile ./makefile
---- ../unrar/makefile  2016-05-10 11:51:35.000000000 +0200
-+++ ./makefile 2017-01-31 12:48:13.868329984 +0100
-@@ -2,13 +2,13 @@
+diff -uNr unrar/makefile unrar.mod/makefile
+--- unrar/makefile     2017-06-13 14:04:49.000000000 +0300
++++ unrar.mod/makefile 2017-09-14 20:40:07.511902817 +0300
+@@ -2,14 +2,15 @@
  # Makefile for UNIX - unrar
  
  # Linux using GCC
@@ -13,10 +13,14 @@ diff -u -r ../unrar/makefile ./makefile
 +LIBFLAGS=$(LDFLAGS)
  DEFINES=-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP
 -STRIP=strip
+-AR=ar
 -LDFLAGS=-pthread
 -DESTDIR=/usr
 +STRIP?=strip
++AR?=ar
 +LDFLAGS?=-pthread
-+DESTDIR=@TERMUX_PREFIX@
++DESTDIR=$(PREFIX)
++LIBS=-lreadline
  
  # Linux using LCC
+ #CXX=lcc