mirror of
https://git.yoctoproject.org/poky
synced 2026-09-14 21:49:33 +02:00
vte: allow building vte-native with gcc 4.8
(From OE-Core rev: 54083e96f0b293171f6a846ba0cba3b8d805f577) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
91ce95bf36
commit
9516e8117b
@@ -0,0 +1,27 @@
|
|||||||
|
From 442da9076b52003743ffc6fd7b9d647de6d7aa8f Mon Sep 17 00:00:00 2001
|
||||||
|
From: Alexander Kanavin <alex.kanavin@gmail.com>
|
||||||
|
Date: Thu, 17 Jan 2019 16:37:54 +0100
|
||||||
|
Subject: [PATCH] app.cc: use old school asignment to avoid gcc 4.8 error
|
||||||
|
|
||||||
|
This is needed to build vte-native on Centos 7,
|
||||||
|
and can be dropped once that OS is no longer supported.
|
||||||
|
|
||||||
|
Upstream-Status: Inappropriate [ancient compiler fix]
|
||||||
|
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
|
||||||
|
---
|
||||||
|
src/app/app.cc | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/src/app/app.cc b/src/app/app.cc
|
||||||
|
index d424064..675d789 100644
|
||||||
|
--- a/src/app/app.cc
|
||||||
|
+++ b/src/app/app.cc
|
||||||
|
@@ -306,7 +306,7 @@ public:
|
||||||
|
else
|
||||||
|
alpha = get_alpha();
|
||||||
|
|
||||||
|
- GdkRGBA color{bg_color};
|
||||||
|
+ GdkRGBA color = bg_color;
|
||||||
|
color.alpha = alpha;
|
||||||
|
return color;
|
||||||
|
}
|
||||||
@@ -9,8 +9,9 @@ inherit gnomebase gtk-doc distro_features_check upstream-version-is-even gobject
|
|||||||
|
|
||||||
# vapigen.m4 is required when vala is not present (but the one from vala should be used normally)
|
# vapigen.m4 is required when vala is not present (but the one from vala should be used normally)
|
||||||
SRC_URI += "file://0001-Don-t-enable-stack-protection-by-default.patch \
|
SRC_URI += "file://0001-Don-t-enable-stack-protection-by-default.patch \
|
||||||
${@bb.utils.contains('PACKAGECONFIG', 'vala', '', 'file://0001-Add-m4-vapigen.m4.patch', d) } \
|
${@bb.utils.contains('PACKAGECONFIG', 'vala', '', 'file://0001-Add-m4-vapigen.m4.patch', d) } \
|
||||||
"
|
file://0001-app.cc-use-old-school-asignment-to-avoid-gcc-4.8-err.patch \
|
||||||
|
"
|
||||||
SRC_URI[archive.md5sum] = "de8181350dccb010e915e366bdd06d18"
|
SRC_URI[archive.md5sum] = "de8181350dccb010e915e366bdd06d18"
|
||||||
SRC_URI[archive.sha256sum] = "0f2657cef52accbfe56feede553155552d7c1984b1291838af3cb8cfc19b26af"
|
SRC_URI[archive.sha256sum] = "0f2657cef52accbfe56feede553155552d7c1984b1291838af3cb8cfc19b26af"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user