don't echo the password on sparc/sparc64; ok sthen@
This commit is contained in:
parent
2b97537301
commit
ade68cd88e
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.53 2011/09/08 11:13:30 jasper Exp $
|
||||
# $OpenBSD: Makefile,v 1.54 2012/04/08 11:30:25 naddy Exp $
|
||||
|
||||
COMMENT= extract, list, and test RAR archives
|
||||
|
||||
@ -11,6 +11,7 @@ COMMENT= extract, list, and test RAR archives
|
||||
|
||||
PKGNAME= unrar-4.00
|
||||
EPOCH= 1
|
||||
REVISION= 0
|
||||
DISTNAME= unrarsrc-4.0.7
|
||||
CATEGORIES= archivers
|
||||
|
||||
|
12
archivers/unrar/patches/patch-consio_cpp
Normal file
12
archivers/unrar/patches/patch-consio_cpp
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-consio_cpp,v 1.1 2012/04/08 11:30:25 naddy Exp $
|
||||
--- consio.cpp.orig Sun Apr 8 00:33:34 2012
|
||||
+++ consio.cpp Sun Apr 8 00:33:48 2012
|
||||
@@ -127,7 +127,7 @@ void GetPasswordText(wchar *Str,uint MaxLength)
|
||||
SetConsoleMode(hConOut,ConOutMode);
|
||||
#else
|
||||
char StrA[MAXPASSWORD];
|
||||
-#if defined(_EMX) || defined(_BEOS) || defined(__sparc) || defined(sparc) || defined (__VMS)
|
||||
+#if defined(_EMX) || defined(_BEOS) || defined (__VMS)
|
||||
fgets(StrA,ASIZE(StrA)-1,stdin);
|
||||
#else
|
||||
strncpyz(StrA,getpass(""),ASIZE(StrA));
|
Loading…
Reference in New Issue
Block a user