From efcfd72c90d6fab96bea79dc19ca9aeceb4f938c Mon Sep 17 00:00:00 2001 From: B Stack Date: Wed, 5 Sep 2018 21:31:45 -0400 Subject: include sysmacros patch --- scx-veracrypt/veracrypt-1.22-include-sysmacros.patch | 11 +++++++++++ scx-veracrypt/veracrypt.spec | 2 ++ 2 files changed, 13 insertions(+) create mode 100644 scx-veracrypt/veracrypt-1.22-include-sysmacros.patch (limited to 'scx-veracrypt') diff --git a/scx-veracrypt/veracrypt-1.22-include-sysmacros.patch b/scx-veracrypt/veracrypt-1.22-include-sysmacros.patch new file mode 100644 index 0000000..9381b40 --- /dev/null +++ b/scx-veracrypt/veracrypt-1.22-include-sysmacros.patch @@ -0,0 +1,11 @@ +diff -x '*.orig' -x '*.rej' -Naur VeraCrypt_1.22/src/Platform/Unix/FilesystemPath.cpp VeraCrypt_1.22-1/src/Platform/Unix/FilesystemPath.cpp +--- VeraCrypt_1.22/src/Platform/Unix/FilesystemPath.cpp 2018-03-30 07:54:10.000000000 -0400 ++++ VeraCrypt_1.22-1/src/Platform/Unix/FilesystemPath.cpp 2018-09-05 21:20:12.897225387 -0400 +@@ -15,6 +15,7 @@ + #include "Platform/StringConverter.h" + #include + #include ++#include + + namespace VeraCrypt + { diff --git a/scx-veracrypt/veracrypt.spec b/scx-veracrypt/veracrypt.spec index a891158..7e8abf2 100644 --- a/scx-veracrypt/veracrypt.spec +++ b/scx-veracrypt/veracrypt.spec @@ -85,6 +85,7 @@ Patch2: veracrypt-1.0f-2-desktop.patch # /usr/lib/gcc/x86_64-redhat-linux/7/include/wmmintrin.h:61:1: error: inlining failed in call to always_inline '_mm_aesenc_si128': target specific option mismatch # _mm_aesenc_si128 (__m128i __X, __m128i __Y) Patch3: veracrypt-1.21-dumpfullversion.patch +Patch4: veracrypt-1.22-include-sysmacros.patch #BuildRequires: wxGTK3-devel %if "%{?wx_toolkit}" != "" @@ -124,6 +125,7 @@ Free disk encryption software based on TrueCrypt. %if 0%{?enable_dumpfullversion} %patch3 -p1 %endif +%patch4 -p1 %build %if 0%{wx_version_major} < 3 -- cgit