summaryrefslogtreecommitdiff
path: root/sys-apps/paludis/files
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2017-06-29 13:09:49 +0300
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2017-06-29 13:09:49 +0300
commitf91bdb81361d4ac594ecb9ed38580cb895d8c98b (patch)
treea605d1391d1d13db20b93aa7602ea0960134c17e /sys-apps/paludis/files
parent631f4f930420d43369e9cc2b044ca1d389c9600f (diff)
paludis: fix for http://paludis.exherbo.org/trac/ticket/1356 http://paludis.exherbo.org/trac/ticket/1357
Diffstat (limited to 'sys-apps/paludis/files')
-rw-r--r--sys-apps/paludis/files/0001-use-correct-type-when-stringifying-whirlpool-checksu.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/sys-apps/paludis/files/0001-use-correct-type-when-stringifying-whirlpool-checksu.patch b/sys-apps/paludis/files/0001-use-correct-type-when-stringifying-whirlpool-checksu.patch
new file mode 100644
index 0000000..a98512c
--- /dev/null
+++ b/sys-apps/paludis/files/0001-use-correct-type-when-stringifying-whirlpool-checksu.patch
@@ -0,0 +1,25 @@
+From f2be6cf4d6ad2e8e19ce5ca2d58833f7af8af0c7 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?=C5=81ukasz=20P=2E=20Michalik?= <lpmichalik@googlemail.com>
+Date: Mon, 10 Apr 2017 16:43:29 +0200
+Subject: [PATCH] use correct type when stringifying whirlpool checksum
+
+---
+ paludis/util/whirlpool.cc | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/paludis/util/whirlpool.cc b/paludis/util/whirlpool.cc
+index 75ed86dee..5c2dd4826 100644
+--- a/paludis/util/whirlpool.cc
++++ b/paludis/util/whirlpool.cc
+@@ -455,7 +455,7 @@ Whirlpool::hexsum() const
+ {
+ std::stringstream result;
+ result << std::hex << std::right << std::setfill('0');
+- for (unsigned long i : H)
++ for (uint64_t i : H)
+ result << std::setw(16) << from_bigendian(i);
+ return result.str();
+ }
+--
+2.11.0
+