mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-04-20 23:48:20 +00:00
gtkmathview: Fix build with clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
From 90411a7f5e0e9582e79f0a8ccc1e2f158615e451 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Sat, 19 May 2018 23:18:11 -0700
|
||||
Subject: [PATCH] Fix formatting for modern c++11 compilers
|
||||
|
||||
Fixes
|
||||
error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
|
||||
|
||||
Upstream-Status: Pending
|
||||
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
src/backend/svg/SVG_RenderingContext.cc | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/backend/svg/SVG_RenderingContext.cc b/src/backend/svg/SVG_RenderingContext.cc
|
||||
index 55d6097..0d50702 100644
|
||||
--- a/src/backend/svg/SVG_RenderingContext.cc
|
||||
+++ b/src/backend/svg/SVG_RenderingContext.cc
|
||||
@@ -68,7 +68,7 @@ void
|
||||
SVG_RenderingContext::documentStart(const BoundingBox& bbox)
|
||||
{
|
||||
beginDocument(bbox);
|
||||
- metadata("Created by "PACKAGE" version "VERSION);
|
||||
+ metadata("Created by " PACKAGE " version " VERSION);
|
||||
}
|
||||
|
||||
void
|
||||
--
|
||||
2.17.0
|
||||
|
||||
@@ -13,6 +13,7 @@ SRC_URI = "git://github.com/GNOME/gtkmathview.git \
|
||||
file://0001-include-cstdio-to-get-printf-definitions.patch \
|
||||
file://0002-configure.ac-header-detection-of-hash_map-is-broken-.patch \
|
||||
file://0003-gcc-6.0-build-fixes.patch \
|
||||
file://0001-Fix-formatting-for-modern-c-11-compilers.patch \
|
||||
"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
Reference in New Issue
Block a user