summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scx-veracrypt/veracrypt-1.22-include-sysmacros.patch11
-rw-r--r--scx-veracrypt/veracrypt.spec2
2 files changed, 13 insertions, 0 deletions
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 <stdio.h>
+ #include <sys/stat.h>
++#include <sys/sysmacros.h>
+
+ 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
bgstack15