[med-svn] [Git][med-team/libroadrunner][master] Fix build issue

Andreas Tille gitlab at salsa.debian.org
Tue Feb 16 17:31:04 GMT 2021



Andreas Tille pushed to branch master at Debian Med / libroadrunner


Commits:
d087fca6 by Andreas Tille at 2021-02-16T18:30:50+01:00
Fix build issue

- - - - -


2 changed files:

- + debian/patches/gcc-10.patch
- debian/patches/series


Changes:

=====================================
debian/patches/gcc-10.patch
=====================================
@@ -0,0 +1,31 @@
+Author: Aaron M. Ucko <ucko at debian.org>
+Last-Update: Tue, 16 Feb 2021 10:36:11 -0500
+Origin: https://lists.debian.org/debian-med/2021/02/msg00102.html
+Description: Fix build issue with gcc-10
+
+--- a/source/rrLogger.cpp
++++ b/source/rrLogger.cpp
+@@ -350,9 +350,9 @@ std::string Logger::getFormattingPattern
+ static SplitterChannel* getSplitterChannel()
+ {
+     getLogger();
+-    FormattingChannel *fc = dynamic_cast<FormattingChannel*>(pocoLogger->getChannel());
++    FormattingChannel *fc = dynamic_cast<FormattingChannel*>(pocoLogger->getChannel().get());
+     assert(fc && "the first channel in the roadrunner logger should be a formatting channel");
+-    SplitterChannel *sc = dynamic_cast<SplitterChannel*>(fc->getChannel());
++    SplitterChannel *sc = dynamic_cast<SplitterChannel*>(fc->getChannel().get());
+     assert(sc && "could not get SplitterChannel from FormattingChannel");
+     return sc;
+ }
+@@ -360,9 +360,9 @@ static SplitterChannel* getSplitterChann
+ static PatternFormatter *getPatternFormatter()
+ {
+     getLogger();
+-    FormattingChannel *fc = dynamic_cast<FormattingChannel*>(pocoLogger->getChannel());
++    FormattingChannel *fc = dynamic_cast<FormattingChannel*>(pocoLogger->getChannel().get());
+     assert(fc && "the first channel in the roadrunner logger should be a formatting channel");
+-    PatternFormatter *pf = dynamic_cast<PatternFormatter*>(fc->getFormatter());
++    PatternFormatter *pf = dynamic_cast<PatternFormatter*>(fc->getFormatter().get());
+     assert(pf && "formatter attached to pattern formatter is not a PatternFormatter");
+     return pf;
+ }


=====================================
debian/patches/series
=====================================
@@ -1,2 +1,3 @@
 do_not_build_depend_git.patch
 debug_cmake.patch
+gcc-10.patch



View it on GitLab: https://salsa.debian.org/med-team/libroadrunner/-/commit/d087fca6d7af27ceec2ad7dfc5459e9733742f9f

-- 
View it on GitLab: https://salsa.debian.org/med-team/libroadrunner/-/commit/d087fca6d7af27ceec2ad7dfc5459e9733742f9f
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20210216/7ea00f5c/attachment-0001.html>


More information about the debian-med-commit mailing list