Patch away veracrypt's use of vnconfig -c, kn removed the backwards

compat for -c in vnconfig.c r1.8.  From Yifei Zhan, ok tb@
This commit is contained in:
sthen 2022-11-25 11:21:44 +00:00
parent 8d4ce3ee6c
commit a12e970540
2 changed files with 15 additions and 0 deletions

View File

@ -5,6 +5,7 @@ DISTNAME= VeraCrypt_${V}_Source
PKGNAME= veracrypt-${V}
CATEGORIES= security
HOMEPAGE= https://www.veracrypt.fr/
REVISION= 0
MAINTAINER= Tietoturvamies <main@tietoturvamies.fi>

View File

@ -0,0 +1,14 @@
The -c option is no more. https://github.com/veracrypt/VeraCrypt/pull/1002
Index: Core/Unix/OpenBSD/CoreOpenBSD.cpp
--- Core/Unix/OpenBSD/CoreOpenBSD.cpp.orig
+++ Core/Unix/OpenBSD/CoreOpenBSD.cpp
@@ -69,8 +69,6 @@ namespace VeraCrypt
if (freeVnd == -1)
throw "couldn't find free vnd";
- args.push_back ("-c");
-
stringstream freePath;
freePath << "vnd" << freeVnd;
args.push_back (freePath.str());