summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Pronin <dannftk@yandex.ru>2020-01-23 09:30:29 +0300
committerMatthew Thode <prometheanfire@gentoo.org>2020-01-23 11:09:29 -0600
commit011921ef714adf03acb30a5be54c3dd7b8b9e208 (patch)
treecc5deb1e67fad9337bd4884b8af3d43b54c1e68c /app-arch/p7zip/files
parentwww-client/opera-developer: Old (diff)
downloadgentoo-011921ef714adf03acb30a5be54c3dd7b8b9e208.tar.gz
gentoo-011921ef714adf03acb30a5be54c3dd7b8b9e208.tar.bz2
gentoo-011921ef714adf03acb30a5be54c3dd7b8b9e208.zip
app-arch/p7zip: it is now possible to compile with clang and c++17
Signed-off-by: Denis Pronin <dannftk@yandex.ru> Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>
Diffstat (limited to 'app-arch/p7zip/files')
-rw-r--r--app-arch/p7zip/files/WimHandler.cpp.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/app-arch/p7zip/files/WimHandler.cpp.patch b/app-arch/p7zip/files/WimHandler.cpp.patch
new file mode 100644
index 000000000000..db7d73a2b942
--- /dev/null
+++ b/app-arch/p7zip/files/WimHandler.cpp.patch
@@ -0,0 +1,11 @@
+--- ./CPP/7zip/Archive/Wim/WimHandler.cpp 2016-06-11 11:08:06.000000000 +0300
++++ ./CPP/7zip/Archive/Wim/WimHandler.cpp.new 2020-01-22 09:36:59.671803569 +0300
+@@ -298,7 +298,7 @@ STDMETHODIMP CHandler::GetArchivePropert
+
+ AString res;
+
+- bool numMethods = 0;
++ int numMethods = 0;
+ for (unsigned i = 0; i < ARRAY_SIZE(k_Methods); i++)
+ {
+ if (methodMask & ((UInt32)1 << i))