mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-17 11:04:10 -04:00
sys-fs/dwarfs: fixed bug that appears with modern compilers
clang-16 or gcc-13 Closes: https://bugs.gentoo.org/906181 Signed-off-by: Denis Reva <denis7774@gmail.com>
This commit is contained in:
@@ -19,6 +19,11 @@ KEYWORDS="~amd64"
|
||||
IUSE="python +jemalloc test man"
|
||||
S="${WORKDIR}/dwarfs-${MY_PV}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/dwarfs-0.7.0_rc4-stdexcept.patch"
|
||||
"${FILESDIR}/dwarfs-0.7.0_rc4-fbthrift-cstdint.patch"
|
||||
)
|
||||
|
||||
RDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
app-arch/libarchive
|
||||
|
||||
13
sys-fs/dwarfs/files/dwarfs-0.7.0_rc4-fbthrift-cstdint.patch
Normal file
13
sys-fs/dwarfs/files/dwarfs-0.7.0_rc4-fbthrift-cstdint.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
diff --git a/fbthrift/thrift/compiler/generate/json.cc b/fbthrift/thrift/compiler/generate/json.cc
|
||||
index c4d87a3..015e81f 100644
|
||||
--- a/fbthrift/thrift/compiler/generate/json.cc
|
||||
+++ b/fbthrift/thrift/compiler/generate/json.cc
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
#include <ostream>
|
||||
#include <sstream>
|
||||
-
|
||||
+#include <cstdint>
|
||||
namespace apache {
|
||||
namespace thrift {
|
||||
namespace compiler {
|
||||
14
sys-fs/dwarfs/files/dwarfs-0.7.0_rc4-stdexcept.patch
Normal file
14
sys-fs/dwarfs/files/dwarfs-0.7.0_rc4-stdexcept.patch
Normal file
@@ -0,0 +1,14 @@
|
||||
diff --git a/folly/folly/system/AtFork.cpp b/folly/folly/system/AtFork.cpp
|
||||
index e888e52..8c9eee5 100644
|
||||
--- a/folly/folly/system/AtFork.cpp
|
||||
+++ b/folly/folly/system/AtFork.cpp
|
||||
@@ -20,7 +20,8 @@
|
||||
#include <folly/lang/Exception.h>
|
||||
#include <folly/portability/PThread.h>
|
||||
#include <folly/synchronization/SanitizeThread.h>
|
||||
-
|
||||
+#include <system_error>
|
||||
+#include <stdexcept>
|
||||
namespace folly {
|
||||
|
||||
void AtForkList::prepare() noexcept {
|
||||
Reference in New Issue
Block a user