Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37787093
en ru br
ALT Linux repositórios
S:1.9.8-alt1
5.0: 1.5.5-alt1
4.1: 1.5.5-alt1
4.0: 1.5.1-alt1
3.0: 1.4.3-alt1

Outros repositórios
Upstream:1.5.5

Group :: Desenvolvimento/Outros
RPM: doxygen

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: Ubuntu-filesystem_glibc.patch
Download


From: Samuel Thibault <samuel.thibault@gnu.org>
Date: Wed, 28 Sep 2022 17:50:54 +0200
Subject: Fix build on GNU/Hurd
Forwarded: https://github.com/doxygen/doxygen/pull/9514
---
Index: doxygen/filesystem/filesystem.hpp
===================================================================
--- doxygen.orig/filesystem/filesystem.hpp
+++ doxygen/filesystem/filesystem.hpp
@@ -4081,6 +4081,13 @@ GHC_INLINE path current_path(std::error_
         return path();
     }
     return path(std::wstring(buffer.get()), path::native_format);
+#elif defined(__GLIBC__)
+    std::unique_ptr<char, decltype(&std::free)> buffer { ::getcwd(NULL, 0), std::free };
+    if (buffer == nullptr) {
+        ec = detail::make_system_error();
+        return path();
+    }
+    return path(buffer.get());
 #else
     size_t pathlen = static_cast<size_t>(std::max(int(::pathconf(".", _PC_PATH_MAX)), int(PATH_MAX)));
     std::unique_ptr<char[]> buffer(new char[pathlen + 1]);
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009