diff --git a/doxygen-1.12.0-libfmt-11.0.2.patch b/doxygen-1.12.0-libfmt-11.0.2.patch new file mode 100644 index 0000000..dd8fefd --- /dev/null +++ b/doxygen-1.12.0-libfmt-11.0.2.patch @@ -0,0 +1,115 @@ +From 567aca983f70b01103271e431bc71a13ac79213c Mon Sep 17 00:00:00 2001 +From: Alfred Wingate +Date: Fri, 9 Aug 2024 03:00:05 +0300 +Subject: [PATCH] Adjust to libfmt-11 changes + +Bug: https://bugs.gentoo.org/937599 +See-Also: https://github.com/fmtlib/fmt/commit/d70729215fba1d54862e407b626abf86ddf409bf +Signed-off-by: Alfred Wingate +--- + src/trace.h | 22 +++++++++++----------- + 1 file changed, 11 insertions(+), 11 deletions(-) + +diff --git a/src/trace.h b/src/trace.h +index 13a816650d7..8062e0b19ef 100644 +--- a/src/trace.h ++++ b/src/trace.h +@@ -156,7 +156,7 @@ namespace fmt { template struct formatter {}; } + //! adds support for formatting QCString + template<> struct fmt::formatter : formatter + { +- auto format(const QCString &c, format_context& ctx) { ++ auto format(const QCString &c, format_context& ctx) const { + return formatter::format(c.str(), ctx); + } + }; +@@ -164,7 +164,7 @@ template<> struct fmt::formatter : formatter + //! adds support for formatting Protected + template<> struct fmt::formatter : formatter + { +- auto format(Protection prot, format_context& ctx) { ++ auto format(Protection prot, format_context& ctx) const { + std::string result="Unknown"; + switch (prot) + { +@@ -180,7 +180,7 @@ template<> struct fmt::formatter : formatter + //! adds support for formatting Specifier + template<> struct fmt::formatter : formatter + { +- auto format(Specifier spec, format_context& ctx) { ++ auto format(Specifier spec, format_context& ctx) const { + std::string result="Unknown"; + switch (spec) + { +@@ -195,7 +195,7 @@ template<> struct fmt::formatter : formatter + //! adds support for formatting MethodTypes + template<> struct fmt::formatter : formatter + { +- auto format(MethodTypes mtype, format_context& ctx) { ++ auto format(MethodTypes mtype, format_context& ctx) const { + std::string result="Unknown"; + switch (mtype) + { +@@ -213,7 +213,7 @@ template<> struct fmt::formatter : formatter + //! adds support for formatting RelatesType + template<> struct fmt::formatter : formatter + { +- auto format(RelatesType type, format_context& ctx) { ++ auto format(RelatesType type, format_context& ctx) const { + std::string result="Unknown"; + switch (type) + { +@@ -228,7 +228,7 @@ template<> struct fmt::formatter : formatter + //! adds support for formatting RelationShip + template<> struct fmt::formatter : formatter + { +- auto format(Relationship relation, format_context& ctx) { ++ auto format(Relationship relation, format_context& ctx) const { + std::string result="Unknown"; + switch (relation) + { +@@ -243,7 +243,7 @@ template<> struct fmt::formatter : formatter + //! adds support for formatting SrcLangExt + template<> struct fmt::formatter : formatter + { +- auto format(SrcLangExt lang, format_context& ctx) { ++ auto format(SrcLangExt lang, format_context& ctx) const { + std::string result="Unknown"; + switch (lang) + { +@@ -273,7 +273,7 @@ template<> struct fmt::formatter : formatter + //! adds support for formatting MemberType + template<> struct fmt::formatter : formatter + { +- auto format(MemberType mtype, format_context& ctx) { ++ auto format(MemberType mtype, format_context& ctx) const { + std::string result="Unknown"; + switch (mtype) + { +@@ -301,7 +301,7 @@ template<> struct fmt::formatter : formatter + //! adds support for formatting TypeSpecifier + template<> struct fmt::formatter : formatter + { +- auto format(TypeSpecifier type, format_context& ctx) { ++ auto format(TypeSpecifier type, format_context& ctx) const { + return formatter::format(type.to_string(),ctx); + } + }; +@@ -309,7 +309,7 @@ template<> struct fmt::formatter : formatter + //! adds support for formatting EntryType + template<> struct fmt::formatter : formatter + { +- auto format(EntryType type, format_context& ctx) { ++ auto format(EntryType type, format_context& ctx) const { + return formatter::format(type.to_string(),ctx); + } + }; +@@ -317,7 +317,7 @@ template<> struct fmt::formatter : formatter + //! adds support for formatting MemberListType + template<> struct fmt::formatter : formatter + { +- auto format(MemberListType type, format_context& ctx) { ++ auto format(MemberListType type, format_context& ctx) const { + return formatter::format(type.to_string(),ctx); + } + }; diff --git a/doxygen-1.6.2-timestamp.patch b/doxygen-1.6.2-timestamp.patch deleted file mode 100644 index c7b45a3..0000000 --- a/doxygen-1.6.2-timestamp.patch +++ /dev/null @@ -1,61 +0,0 @@ -diff -up doxygen-1.6.2/src/configoptions.cpp.timestamp doxygen-1.6.2/src/configoptions.cpp ---- doxygen-1.6.2/src/configoptions.cpp.timestamp 2009-12-28 11:39:11.000000000 +0100 -+++ doxygen-1.6.2/src/configoptions.cpp 2010-01-04 11:58:33.000000000 +0100 -@@ -1088,6 +1088,14 @@ void addConfigOptions(Config *cfg) - cs->setWidgetType(ConfigString::File); - cs->addDependency("GENERATE_HTML"); - //---- -+ cb = cfg->addBool( -+ "HTML_TIMESTAMP", -+ "If the HTML_TIMESTAMP tag is set to YES then the generated HTML\n" -+ "documentation will contain the timesstamp.", -+ FALSE -+ ); -+ cb->addDependency("GENERATE_HTML"); -+ //---- - cs = cfg->addString( - "HTML_STYLESHEET", - "The HTML_STYLESHEET tag can be used to specify a user-defined cascading\n" -diff -up doxygen-1.6.2/src/config.xml.timestamp doxygen-1.6.2/src/config.xml ---- doxygen-1.6.2/src/config.xml.timestamp 2009-12-28 11:38:55.000000000 +0100 -+++ doxygen-1.6.2/src/config.xml 2010-01-04 11:58:33.000000000 +0100 -@@ -761,6 +761,10 @@ The HTML_FOOTER tag can be used to speci - each generated HTML page. If it is left blank doxygen will generate a - standard footer. - ' defval='' depends='GENERATE_HTML'/> -+