diff options
author | B Stack <bgstack15@gmail.com> | 2018-09-05 21:31:45 -0400 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2018-09-05 21:31:45 -0400 |
commit | efcfd72c90d6fab96bea79dc19ca9aeceb4f938c (patch) | |
tree | 122b95772834c7d82afc596855ceae2641f41f6f | |
parent | add buildrequires gcc-c++ for fc29 (diff) | |
download | stackrpms-efcfd72c90d6fab96bea79dc19ca9aeceb4f938c.tar.gz stackrpms-efcfd72c90d6fab96bea79dc19ca9aeceb4f938c.tar.bz2 stackrpms-efcfd72c90d6fab96bea79dc19ca9aeceb4f938c.zip |
include sysmacros patch
-rw-r--r-- | scx-veracrypt/veracrypt-1.22-include-sysmacros.patch | 11 | ||||
-rw-r--r-- | scx-veracrypt/veracrypt.spec | 2 |
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 |