Blame SOURCES/vte291-avoid-braced-initialization.patch

ae83b6
From 3eb9e7fb33b6cb6fc2a37d0c5fb4f5d8b9f0a02e Mon Sep 17 00:00:00 2001
ae83b6
From: Debarshi Ray <debarshir@gnome.org>
ae83b6
Date: Thu, 7 Jun 2018 15:01:37 +0200
ae83b6
Subject: [PATCH] app: Avoid braced initialization
ae83b6
ae83b6
RHEL 7.6 has an older GCC (gcc-4.8.5-34.el7) that doesn't like it:
ae83b6
  app.cc: In member function 'GdkRGBA Options::get_color_bg() const':
ae83b6
  app.cc:310:39: error: cannot convert 'const GdkRGBA {aka const
ae83b6
    _GdkRGBA}' to 'gdouble {aka double}' in initialization
ae83b6
    GdkRGBA color{bg_color};
ae83b6
                          ^
ae83b6
ae83b6
https://bugzilla.redhat.com/show_bug.cgi?id=1569801
ae83b6
---
ae83b6
 src/app/app.cc | 2 +-
ae83b6
 1 file changed, 1 insertion(+), 1 deletion(-)
ae83b6
ae83b6
diff --git a/src/app/app.cc b/src/app/app.cc
ae83b6
index 3faa2d76dd10..56b00ac49399 100644
ae83b6
--- a/src/app/app.cc
ae83b6
+++ b/src/app/app.cc
ae83b6
@@ -307,7 +307,7 @@ public:
ae83b6
                 else
ae83b6
                         alpha = get_alpha();
ae83b6
 
ae83b6
-                GdkRGBA color{bg_color};
ae83b6
+                GdkRGBA color = bg_color;
ae83b6
                 color.alpha = alpha;
ae83b6
                 return color;
ae83b6
         }
ae83b6
-- 
ae83b6
2.14.4
ae83b6