summarylogtreecommitdiffstats
path: root/md5-bytes.patch
diff options
context:
space:
mode:
authorfunilrys2018-03-02 20:16:25 +0100
committerfunilrys2018-03-02 20:16:25 +0100
commit8fa75ee75095723c8adf615092b469f908764755 (patch)
tree04c11f1b37da335a41a83d0731c082310b595696 /md5-bytes.patch
parent8c3a70536014fa7ee563b7112780f73efcba8bba (diff)
downloadaur-8fa75ee75095723c8adf615092b469f908764755.tar.gz
Update urbackup2-client to v2.2.5
Diffstat (limited to 'md5-bytes.patch')
-rw-r--r--md5-bytes.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/md5-bytes.patch b/md5-bytes.patch
new file mode 100644
index 000000000000..d4b88fe7dfed
--- /dev/null
+++ b/md5-bytes.patch
@@ -0,0 +1,25 @@
+diff --git md5.h md5.h
+index d8b96df..86103da 100644
+--- md5.h
++++ md5.h
+@@ -124,6 +124,13 @@ private:
+ #include CRYPTOPP_INCLUDE_MD5
+ #endif
+
++#if (CRYPTOPP_VERSION >= 600) && (__cplusplus >= 201103L)
++ using byte = CryptoPP::byte;
++#else
++ typedef unsigned char byte;
++#endif
++
++
+ class MD5 {
+
+ public:
+@@ -151,4 +158,4 @@ private:
+
+ #endif //DO_NOT_USE_CRYPTOPP_MD5
+
+-#endif //MD5_H
+\ No newline at end of file
++#endif //MD5_H