summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-extended/mml-widget/gtkmathview/0001-Fix-formatting-for-modern-c-11-compilers.patch31
-rw-r--r--meta-oe/recipes-extended/mml-widget/gtkmathview_0.8.0.bb1
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 @@
1From 90411a7f5e0e9582e79f0a8ccc1e2f158615e451 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 19 May 2018 23:18:11 -0700
4Subject: [PATCH] Fix formatting for modern c++11 compilers
5
6Fixes
7error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
8
9Upstream-Status: Pending
10
11Signed-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
16diff --git a/src/backend/svg/SVG_RenderingContext.cc b/src/backend/svg/SVG_RenderingContext.cc
17index 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--
302.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
18S = "${WORKDIR}/git" 19S = "${WORKDIR}/git"