summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2024-03-15 21:41:16 +0100
committerAlfredo Tupone <tupone@gentoo.org>2024-03-15 21:52:25 +0100
commit24963aa6b5d1313e0b66de80838c66ab92a2af21 (patch)
tree7e55dbc8004b6064055a53d275c4864e6834dff6 /dev-libs
parentgnome-base/gnome-control-center: Keyword 45.3 ppc, #914508 (diff)
downloadgentoo-24963aa6b5d1313e0b66de80838c66ab92a2af21.tar.gz
gentoo-24963aa6b5d1313e0b66de80838c66ab92a2af21.tar.bz2
gentoo-24963aa6b5d1313e0b66de80838c66ab92a2af21.zip
dev-libs/dynolog: follows upstream on musl fix
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/dynolog/files/dynolog-0.3.1_p20230126-musl.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/dev-libs/dynolog/files/dynolog-0.3.1_p20230126-musl.patch b/dev-libs/dynolog/files/dynolog-0.3.1_p20230126-musl.patch
index 3890e68c4585..a3617bc3a2a7 100644
--- a/dev-libs/dynolog/files/dynolog-0.3.1_p20230126-musl.patch
+++ b/dev-libs/dynolog/files/dynolog-0.3.1_p20230126-musl.patch
@@ -23,3 +23,18 @@ index 0728cdc..844076d 100644
std::unordered_map<std::string, std::string> getMetadataForPid(
pid_t pid,
const std::unordered_map<std::string, std::string>& keysMap);
+--- a/hbt/src/perf_event/BPerfEventsGroup.cpp
++++ b/hbt/src/perf_event/BPerfEventsGroup.cpp
+@@ -76,10 +76,10 @@
+ cpu_cnt_ = ::libbpf_num_possible_cpus();
+ }
+
+-inline auto mapFdWrapperPtrIntoInode(
++inline ino_t mapFdWrapperPtrIntoInode(
+ const std::shared_ptr<FdWrapper>& fd_wrapper) {
+ if (fd_wrapper == nullptr) {
+- return 0ull;
++ return (ino_t)0;
+ }
+ return fd_wrapper->getInode();
+ }