File juce5-fix-conversion-for-modern-gcc.patch of Package distrho-ports

Submodule libs/juce5/source contains modified content
diff --git a/libs/juce5/source/modules/juce_graphics/native/juce_freetype_Fonts.cpp b/libs/juce5/source/modules/juce_graphics/native/juce_freetype_Fonts.cpp
index a813ec61b..5015ea3c3 100644
--- a/libs/juce5/source/modules/juce_graphics/native/juce_freetype_Fonts.cpp
+++ b/libs/juce5/source/modules/juce_graphics/native/juce_freetype_Fonts.cpp
@@ -352,10 +352,10 @@ private:
 
     bool getGlyphShape (Path& destShape, const FT_Outline& outline, const float scaleX)
     {
-        const float scaleY = -scaleX;
-        const short* const contours = outline.contours;
-        const char* const tags = outline.tags;
-        const FT_Vector* const points = outline.points;
+        auto scaleY = -scaleX;
+        auto* contours = outline.contours;
+        auto* tags = outline.tags;
+        auto* points = outline.points;
 
         for (int c = 0; c < outline.n_contours; ++c)
         {
openSUSE Build Service is sponsored by