diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2017-06-29 13:09:49 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2017-06-29 13:09:49 +0300 |
commit | f91bdb81361d4ac594ecb9ed38580cb895d8c98b (patch) | |
tree | a605d1391d1d13db20b93aa7602ea0960134c17e /sys-apps | |
parent | 631f4f930420d43369e9cc2b044ca1d389c9600f (diff) |
paludis: fix for http://paludis.exherbo.org/trac/ticket/1356 http://paludis.exherbo.org/trac/ticket/1357
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/paludis/files/0001-use-correct-type-when-stringifying-whirlpool-checksu.patch | 25 | ||||
-rw-r--r-- | sys-apps/paludis/paludis-scm.ebuild | 1 |
2 files changed, 26 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 + diff --git a/sys-apps/paludis/paludis-scm.ebuild b/sys-apps/paludis/paludis-scm.ebuild index aa29cb5..d65304c 100644 --- a/sys-apps/paludis/paludis-scm.ebuild +++ b/sys-apps/paludis/paludis-scm.ebuild @@ -77,6 +77,7 @@ src_prepare() { # Fix the script shebang on Ruby scripts. # https://bugs.gentoo.org/show_bug.cgi?id=439372#c2 sed -i -e "1s/ruby/&${RUBY_VER/./}/" ruby/demos/*.rb || die + eapply "${FILESDIR}"/0001-use-correct-type-when-stringifying-whirlpool-checksu.patch eapply_user } |