svn commit: r515098 - head/deskutils/lumina-pdf/files
Piotr Kubaj
pkubaj at FreeBSD.org
Mon Oct 21 10:09:17 UTC 2019
Author: pkubaj
Date: Mon Oct 21 10:09:16 2019
New Revision: 515098
URL: https://svnweb.freebsd.org/changeset/ports/515098
Log:
deskutils/lumina-pdf: fix build on GCC architectures
Add include memory to drawablepage.h:
In file included from Renderer-poppler.cpp:2:
drawablepage.h:34:8: error: 'unique_ptr' in namespace 'std' does not name a template type
34 | std::unique_ptr<Poppler::Page> page;
| ^~~~~~~~~~
drawablepage.h:7:1: note: 'std::unique_ptr' is defined in header '<memory>'; did you forget to '#include <memory>'?
6 | #include <poppler/qt5/poppler-qt5.h>
+++ |+#include <memory>
7 |
PR: 241002
Approved by: ken at ixsystems.com (maintainer timeout), linimon (mentor)
Added:
head/deskutils/lumina-pdf/files/
head/deskutils/lumina-pdf/files/patch-drawablepage.h (contents, props changed)
Added: head/deskutils/lumina-pdf/files/patch-drawablepage.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/deskutils/lumina-pdf/files/patch-drawablepage.h Mon Oct 21 10:09:16 2019 (r515098)
@@ -0,0 +1,10 @@
+--- drawablepage.h.orig 2019-10-02 09:07:11 UTC
++++ drawablepage.h
+@@ -1,6 +1,7 @@
+ #ifndef LUMINA_PDF_DRAWABLEPAGE_H
+ #define LUMINA_PDF_DRAWABLEPAGE_H
+
++#include <memory>
+ #include <QImage>
+ #include <QSize>
+ #include <poppler/qt5/poppler-qt5.h>
More information about the svn-ports-head
mailing list