diff options
Diffstat (limited to 'meta/recipes-support/vte/vte/0001-app.cc-use-old-school-asignment-to-avoid-gcc-4.8-err.patch')
-rw-r--r-- | meta/recipes-support/vte/vte/0001-app.cc-use-old-school-asignment-to-avoid-gcc-4.8-err.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/meta/recipes-support/vte/vte/0001-app.cc-use-old-school-asignment-to-avoid-gcc-4.8-err.patch b/meta/recipes-support/vte/vte/0001-app.cc-use-old-school-asignment-to-avoid-gcc-4.8-err.patch new file mode 100644 index 0000000000..9c3f98fa61 --- /dev/null +++ b/meta/recipes-support/vte/vte/0001-app.cc-use-old-school-asignment-to-avoid-gcc-4.8-err.patch | |||
@@ -0,0 +1,27 @@ | |||
1 | From 442da9076b52003743ffc6fd7b9d647de6d7aa8f Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | ||
3 | Date: Thu, 17 Jan 2019 16:37:54 +0100 | ||
4 | Subject: [PATCH] app.cc: use old school asignment to avoid gcc 4.8 error | ||
5 | |||
6 | This is needed to build vte-native on Centos 7, | ||
7 | and can be dropped once that OS is no longer supported. | ||
8 | |||
9 | Upstream-Status: Inappropriate [ancient compiler fix] | ||
10 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
11 | --- | ||
12 | src/app/app.cc | 2 +- | ||
13 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
14 | |||
15 | diff --git a/src/app/app.cc b/src/app/app.cc | ||
16 | index d424064..675d789 100644 | ||
17 | --- a/src/app/app.cc | ||
18 | +++ b/src/app/app.cc | ||
19 | @@ -306,7 +306,7 @@ public: | ||
20 | else | ||
21 | alpha = get_alpha(); | ||
22 | |||
23 | - GdkRGBA color{bg_color}; | ||
24 | + GdkRGBA color = bg_color; | ||
25 | color.alpha = alpha; | ||
26 | return color; | ||
27 | } | ||