[packages/kvazaar] - added cryptopp patch (fixes build with cryptopp 8); release 2
qboosh
qboosh at pld-linux.org
Mon Dec 31 09:28:37 CET 2018
commit 95132d04d2515796032c8f1c67d01d64046e228c
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Mon Dec 31 09:33:23 2018 +0100
- added cryptopp patch (fixes build with cryptopp 8); release 2
kvazaar-cryptopp.patch | 17 +++++++++++++++++
kvazaar.spec | 4 +++-
2 files changed, 20 insertions(+), 1 deletion(-)
---
diff --git a/kvazaar.spec b/kvazaar.spec
index adb4066..4b66009 100644
--- a/kvazaar.spec
+++ b/kvazaar.spec
@@ -6,7 +6,7 @@ Summary: Kvazaar - open-source HEVC encoder
Summary(pl.UTF-8): Kvazaar - koder HEVC o otwartych źródłach
Name: kvazaar
Version: 1.2.0
-Release: 1
+Release: 2
License: LGPL v2.1+
Group: Libraries
#Source0Download: https://github.com/ultravideo/kvazaar/releases
@@ -14,6 +14,7 @@ Source0: https://github.com/ultravideo/kvazaar/releases/download/v%{version}/%{n
# Source0-md5: 829c4d94517047e09110f341c29603cb
Patch0: x32.patch
Patch1: %{name}-link.patch
+Patch2: %{name}-cryptopp.patch
URL: https://github.com/ultravideo/kvazaar
BuildRequires: autoconf >= 2.50
BuildRequires: automake >= 1:1.11
@@ -75,6 +76,7 @@ Statyczna biblioteka Kvazaar.
%setup -q
%patch0 -p1
%patch1 -p1
+%patch2 -p1
%build
%{__libtoolize}
diff --git a/kvazaar-cryptopp.patch b/kvazaar-cryptopp.patch
new file mode 100644
index 0000000..02132de
--- /dev/null
+++ b/kvazaar-cryptopp.patch
@@ -0,0 +1,17 @@
+--- kvazaar-1.2.0/src/extras/crypto.cpp.orig 2017-11-17 14:33:13.000000000 +0100
++++ kvazaar-1.2.0/src/extras/crypto.cpp 2018-12-30 20:25:06.899022843 +0100
+@@ -16,10 +16,10 @@
+
+ struct crypto_handle_t {
+ cipher_t *cipher;
+- byte key[CryptoPP::AES::DEFAULT_KEYLENGTH];
+- byte iv[CryptoPP::AES::BLOCKSIZE];
+- byte out_stream_counter[CryptoPP::AES::BLOCKSIZE];
+- byte counter[CryptoPP::AES::BLOCKSIZE];
++ CryptoPP::byte key[CryptoPP::AES::DEFAULT_KEYLENGTH];
++ CryptoPP::byte iv[CryptoPP::AES::BLOCKSIZE];
++ CryptoPP::byte out_stream_counter[CryptoPP::AES::BLOCKSIZE];
++ CryptoPP::byte counter[CryptoPP::AES::BLOCKSIZE];
+ int couter_avail;
+ int counter_index;
+ int counter_index_pos;
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/kvazaar.git/commitdiff/95132d04d2515796032c8f1c67d01d64046e228c
More information about the pld-cvs-commit
mailing list