summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-support/poppler/poppler/0001-splash-Splash.cc-add-cast-to-fix-build-for-enable-fi.patch42
-rw-r--r--meta-oe/recipes-support/poppler/poppler_0.22.3.bb7
2 files changed, 47 insertions, 2 deletions
diff --git a/meta-oe/recipes-support/poppler/poppler/0001-splash-Splash.cc-add-cast-to-fix-build-for-enable-fi.patch b/meta-oe/recipes-support/poppler/poppler/0001-splash-Splash.cc-add-cast-to-fix-build-for-enable-fi.patch
new file mode 100644
index 0000000000..291c7ee178
--- /dev/null
+++ b/meta-oe/recipes-support/poppler/poppler/0001-splash-Splash.cc-add-cast-to-fix-build-for-enable-fi.patch
@@ -0,0 +1,42 @@
1From 8bd7428c28750f682fe3cc1a35291e5696c17638 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
3Date: Sun, 12 May 2013 18:00:06 +0200
4Subject: [PATCH] splash/Splash.cc: add cast to fix build for
5 --enable-fixedpoint
6MIME-Version: 1.0
7Content-Type: text/plain; charset=UTF-8
8Content-Transfer-Encoding: 8bit
9
10| Splash.cc:1497:30: error: conversion from 'SplashCoord {aka FixedPoint}' to 'Guchar {aka unsigned char}' is ambiguous
11| Splash.cc:1497:30: note: candidates are:
12| In file included from SplashMath.h:27:0,
13| from Splash.cc:44:
14| ../goo/FixedPoint.h:45:3: note: FixedPoint::operator int()
15| ../goo/FixedPoint.h:43:3: note: FixedPoint::operator double()
16| ../goo/FixedPoint.h:41:3: note: FixedPoint::operator float()
17
18Upstream-Status: Submitted [1]
19
20[1] http://lists.freedesktop.org/archives/poppler/2013-May/010247.html
21
22Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
23---
24 splash/Splash.cc | 2 +-
25 1 files changed, 1 insertions(+), 1 deletions(-)
26
27diff --git a/splash/Splash.cc b/splash/Splash.cc
28index cd0ec72..6630370 100644
29--- a/splash/Splash.cc
30+++ b/splash/Splash.cc
31@@ -1494,7 +1494,7 @@ inline void Splash::drawAALine(SplashPipe *pipe, int x0, int x1, int y) {
32 #endif
33
34 if (t != 0) {
35- pipe->shape = aaGamma[t];
36+ pipe->shape = (int)aaGamma[t];
37 (this->*pipe->run)(pipe);
38 updateModX(x);
39 updateModY(y);
40--
411.7.4.4
42
diff --git a/meta-oe/recipes-support/poppler/poppler_0.22.3.bb b/meta-oe/recipes-support/poppler/poppler_0.22.3.bb
index d3d5ce8073..c8ff8a481f 100644
--- a/meta-oe/recipes-support/poppler/poppler_0.22.3.bb
+++ b/meta-oe/recipes-support/poppler/poppler_0.22.3.bb
@@ -2,9 +2,12 @@ DESCRIPTION = "Poppler is a PDF rendering library based on the xpdf-3.0 code bas
2LICENSE = "GPLv2" 2LICENSE = "GPLv2"
3LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" 3LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
4 4
5PR = "r1" 5PR = "r2"
6 6
7SRC_URI = "http://poppler.freedesktop.org/${PN}-${PV}.tar.gz" 7SRC_URI = " \
8 http://poppler.freedesktop.org/${PN}-${PV}.tar.gz \
9 file://0001-splash-Splash.cc-add-cast-to-fix-build-for-enable-fi.patch \
10"
8SRC_URI[md5sum] = "be915388eaad6865cee5a156c8119ec1" 11SRC_URI[md5sum] = "be915388eaad6865cee5a156c8119ec1"
9SRC_URI[sha256sum] = "916a931cbef951366014f13d5f4a574657ccc064ac41051df96dd58e22934431" 12SRC_URI[sha256sum] = "916a931cbef951366014f13d5f4a574657ccc064ac41051df96dd58e22934431"
10 13