File 02_cryptopp.patch of Package ethereum-cpp

From: Adam Mizerski <adam@mizerski.pl>
Date: 2019-02-12 20:48:31
Upstream: no
Subject: fix cryptopp
References: https://github.com/weidai11/cryptopp/commit/4fc0fefc6e45d50df1d40b81f1e997b7346022ba

Index: ethereum-cpp-1.8.0/libdevcrypto/Common.cpp
===================================================================
--- ethereum-cpp-1.8.0.orig/libdevcrypto/Common.cpp
+++ ethereum-cpp-1.8.0/libdevcrypto/Common.cpp
@@ -10,6 +10,7 @@
 #include <secp256k1_recovery.h>
 #include <secp256k1_sha256.h>
 #include <cryptopp/aes.h>
+#include <cryptopp/algparam.h>
 #include <cryptopp/pwdbased.h>
 #include <cryptopp/sha.h>
 #include <cryptopp/modes.h>
Index: ethereum-cpp-1.8.0/test/unittests/libdevcrypto/crypto.cpp
===================================================================
--- ethereum-cpp-1.8.0.orig/test/unittests/libdevcrypto/crypto.cpp
+++ ethereum-cpp-1.8.0/test/unittests/libdevcrypto/crypto.cpp
@@ -8,6 +8,7 @@
 #include <libdevcore/Guards.h>
 #include <secp256k1.h>
 #include <cryptopp/keccak.h>
+#include <cryptopp/algparam.h>
 #include <cryptopp/pwdbased.h>
 #include <cryptopp/sha.h>
 #include <cryptopp/modes.h>
openSUSE Build Service is sponsored by