kumquat-buildroot/package/poppler/0001-Form-add-missing-std-vector-include.patch
Peter Seiderer cb9af5451c poppler: add missing std::vector include for Qt code
Fixes [1], [2]:

  ../../poppler/Form.h:544:14: error: ‘vector’ in namespace ‘std’ does not name a template type
     const std::vector<Ref> &getCalculateOrder() const { return calculateOrder; }

  ../../poppler/Form.h:556:8: error: ‘vector’ in namespace ‘std’ does not name a template type
     std::vector<Ref> calculateOrder;

[1] http://autobuild.buildroot.net/results/b749b252f63945f278358dcd76b6e9c55214ccd8
[2] http://autobuild.buildroot.net/results/92e68defe746eb4852b3a45bb27af2282d3f4c7e

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2017-05-06 10:52:51 +02:00

37 lines
979 B
Diff
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

From 156507c6e85ad05256ccba06a710d47d34cd8153 Mon Sep 17 00:00:00 2001
From: Peter Seiderer <ps.report@gmx.net>
Date: Fri, 5 May 2017 22:21:19 +0200
Subject: [PATCH] Form: add missing std::vector include
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Fixes:
../../poppler/Form.h:544:14: error: vector in namespace std does not name a template type
const std::vector<Ref> &getCalculateOrder() const { return calculateOrder; }
../../poppler/Form.h:556:8: error: vector in namespace std does not name a template type
std::vector<Ref> calculateOrder;
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
---
poppler/Form.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/poppler/Form.h b/poppler/Form.h
index 8ddb6fe..e0a3a28 100644
--- a/poppler/Form.h
+++ b/poppler/Form.h
@@ -27,6 +27,7 @@
#include "Annot.h"
#include <set>
+#include <vector>
class GooString;
class Array;
--
2.11.0