diff options
author | Khem Raj <raj.khem@gmail.com> | 2018-05-19 23:20:58 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2018-05-26 21:10:55 -0700 |
commit | 07b4ebc480d1f21ccb8db2cf5a55317cb67e75b6 (patch) | |
tree | c416be8d43e36040cb5bff1686e09362e4eaf04c /meta-oe/recipes-extended | |
parent | e4536bd278b07dc65a4312143d13009f52efbd81 (diff) | |
download | meta-openembedded-07b4ebc480d1f21ccb8db2cf5a55317cb67e75b6.tar.gz |
gtkmathview: Fix build with clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-extended')
-rw-r--r-- | meta-oe/recipes-extended/mml-widget/gtkmathview/0001-Fix-formatting-for-modern-c-11-compilers.patch | 31 | ||||
-rw-r--r-- | meta-oe/recipes-extended/mml-widget/gtkmathview_0.8.0.bb | 1 |
2 files changed, 32 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/mml-widget/gtkmathview/0001-Fix-formatting-for-modern-c-11-compilers.patch b/meta-oe/recipes-extended/mml-widget/gtkmathview/0001-Fix-formatting-for-modern-c-11-compilers.patch new file mode 100644 index 000000000..8b0096630 --- /dev/null +++ b/meta-oe/recipes-extended/mml-widget/gtkmathview/0001-Fix-formatting-for-modern-c-11-compilers.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | From 90411a7f5e0e9582e79f0a8ccc1e2f158615e451 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sat, 19 May 2018 23:18:11 -0700 | ||
4 | Subject: [PATCH] Fix formatting for modern c++11 compilers | ||
5 | |||
6 | Fixes | ||
7 | error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal] | ||
8 | |||
9 | Upstream-Status: Pending | ||
10 | |||
11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
12 | --- | ||
13 | src/backend/svg/SVG_RenderingContext.cc | 2 +- | ||
14 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
15 | |||
16 | diff --git a/src/backend/svg/SVG_RenderingContext.cc b/src/backend/svg/SVG_RenderingContext.cc | ||
17 | index 55d6097..0d50702 100644 | ||
18 | --- a/src/backend/svg/SVG_RenderingContext.cc | ||
19 | +++ b/src/backend/svg/SVG_RenderingContext.cc | ||
20 | @@ -68,7 +68,7 @@ void | ||
21 | SVG_RenderingContext::documentStart(const BoundingBox& bbox) | ||
22 | { | ||
23 | beginDocument(bbox); | ||
24 | - metadata("Created by "PACKAGE" version "VERSION); | ||
25 | + metadata("Created by " PACKAGE " version " VERSION); | ||
26 | } | ||
27 | |||
28 | void | ||
29 | -- | ||
30 | 2.17.0 | ||
31 | |||
diff --git a/meta-oe/recipes-extended/mml-widget/gtkmathview_0.8.0.bb b/meta-oe/recipes-extended/mml-widget/gtkmathview_0.8.0.bb index df82bef63..9ee9e3035 100644 --- a/meta-oe/recipes-extended/mml-widget/gtkmathview_0.8.0.bb +++ b/meta-oe/recipes-extended/mml-widget/gtkmathview_0.8.0.bb | |||
@@ -13,6 +13,7 @@ SRC_URI = "git://github.com/GNOME/gtkmathview.git \ | |||
13 | file://0001-include-cstdio-to-get-printf-definitions.patch \ | 13 | file://0001-include-cstdio-to-get-printf-definitions.patch \ |
14 | file://0002-configure.ac-header-detection-of-hash_map-is-broken-.patch \ | 14 | file://0002-configure.ac-header-detection-of-hash_map-is-broken-.patch \ |
15 | file://0003-gcc-6.0-build-fixes.patch \ | 15 | file://0003-gcc-6.0-build-fixes.patch \ |
16 | file://0001-Fix-formatting-for-modern-c-11-compilers.patch \ | ||
16 | " | 17 | " |
17 | 18 | ||
18 | S = "${WORKDIR}/git" | 19 | S = "${WORKDIR}/git" |