summarylogtreecommitdiffstats
path: root/cryptopp-bytes.patch
diff options
context:
space:
mode:
authorfunilrys2018-03-02 20:14:46 +0100
committerfunilrys2018-03-02 20:14:46 +0100
commitcc039e334bc048d2b304241f29e6e6335a3be593 (patch)
tree24ed24951ccc9fe2471909f02c6b4612a31148a2 /cryptopp-bytes.patch
parentc46af16036f71295e68dcde5c6fee8f74ba7722f (diff)
downloadaur-cc039e334bc048d2b304241f29e6e6335a3be593.tar.gz
Update urbackup2-server to v 2.2.8
Diffstat (limited to 'cryptopp-bytes.patch')
-rw-r--r--cryptopp-bytes.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/cryptopp-bytes.patch b/cryptopp-bytes.patch
new file mode 100644
index 000000000000..d34e1553313f
--- /dev/null
+++ b/cryptopp-bytes.patch
@@ -0,0 +1,16 @@
+diff --git cryptopp_inc.h cryptopp_inc.h
+index 1295d7c..51ab406 100644
+--- cryptopp_inc.h
++++ cryptopp_inc.h
+@@ -44,4 +44,9 @@
+ #include CRYPTOPP_INCLUDE_ECCRYPTO
+ #include CRYPTOPP_INCLUDE_OIDS
+ #include CRYPTOPP_INCLUDE_DSA
+-#endif
+\ No newline at end of file
++#endif
++#if (CRYPTOPP_VERSION >= 600) && (__cplusplus >= 201103L)
++ using byte = CryptoPP::byte;
++#else
++ typedef unsigned char byte;
++#endif