public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-text/qpdfview/files/, app-text/qpdfview/
@ 2020-05-30  9:31 Andreas Sturmlechner
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Sturmlechner @ 2020-05-30  9:31 UTC (permalink / raw
  To: gentoo-commits

commit:     d84040f2ada52a9a01e555158ab835c0296b0356
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat May 30 09:27:20 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat May 30 09:31:06 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d84040f2

app-text/qpdfview: Fix build with Qt 5.15

Thanks-to: Petr Zima <zima <AT> matfyz.cz>
Closes: https://bugs.gentoo.org/726064
Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 app-text/qpdfview/files/qpdfview-0.4.18-qt-5.15.patch | 11 +++++++++++
 app-text/qpdfview/qpdfview-0.4.18.ebuild              |  2 ++
 2 files changed, 13 insertions(+)

diff --git a/app-text/qpdfview/files/qpdfview-0.4.18-qt-5.15.patch b/app-text/qpdfview/files/qpdfview-0.4.18-qt-5.15.patch
new file mode 100644
index 00000000000..b19f247a7c3
--- /dev/null
+++ b/app-text/qpdfview/files/qpdfview-0.4.18-qt-5.15.patch
@@ -0,0 +1,11 @@
+diff -ur qpdfview-0.4.18.orig/sources/model.h qpdfview-0.4.18/sources/model.h
+--- a/sources/model.h	2019-07-24 21:18:33.000000000 +0200
++++ b/sources/model.h	2020-05-29 11:44:33.012891583 +0200
+@@ -27,6 +27,7 @@
+ #include <QtPlugin>
+ #include <QWidget>
+ #include <QVector>
++#include <QPainterPath>
+ 
+ class QAbstractItemModel;
+ class QColor;

diff --git a/app-text/qpdfview/qpdfview-0.4.18.ebuild b/app-text/qpdfview/qpdfview-0.4.18.ebuild
index 5e1fefad37b..de52c7c7b92 100644
--- a/app-text/qpdfview/qpdfview-0.4.18.ebuild
+++ b/app-text/qpdfview/qpdfview-0.4.18.ebuild
@@ -42,6 +42,8 @@ DEPEND="${RDEPEND}"
 
 DOCS=( CHANGES CONTRIBUTORS README TODO )
 
+PATCHES=( "${FILESDIR}/${P}-qt-5.15.patch" ) # bug 726064
+
 src_prepare() {
 	default
 


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-text/qpdfview/files/, app-text/qpdfview/
@ 2023-09-08 12:57 Sam James
  0 siblings, 0 replies; 2+ messages in thread
From: Sam James @ 2023-09-08 12:57 UTC (permalink / raw
  To: gentoo-commits

commit:     e4b459a4ba460fb6a2d3be40648d5397ea19d70b
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Sep  8 12:57:24 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Sep  8 12:57:35 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4b459a4

app-text/qpdfview: fix build w/ >=poppler-23.08.0 (build w/ c++17)

Closes: https://bugs.gentoo.org/909037
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-text/qpdfview/files/qpdfview-0.5-poppler-23.08.0-cxx17.patch | 9 +++++++++
 app-text/qpdfview/qpdfview-0.5.ebuild                            | 4 ++++
 2 files changed, 13 insertions(+)

diff --git a/app-text/qpdfview/files/qpdfview-0.5-poppler-23.08.0-cxx17.patch b/app-text/qpdfview/files/qpdfview-0.5-poppler-23.08.0-cxx17.patch
new file mode 100644
index 000000000000..07acf1a02bd3
--- /dev/null
+++ b/app-text/qpdfview/files/qpdfview-0.5-poppler-23.08.0-cxx17.patch
@@ -0,0 +1,9 @@
+https://bugs.gentoo.org/909037
+--- a/qpdfview.pri
++++ b/qpdfview.pri
+@@ -12,4 +12,4 @@ isEmpty(APP_DIR_DATA_PATH):APP_DIR_DATA_PATH = data
+ win32:include(qpdfview_win32.pri)
+ os2:include(qpdfview_os2.pri)
+ 
+-CONFIG += c++11
++CONFIG += c++17

diff --git a/app-text/qpdfview/qpdfview-0.5.ebuild b/app-text/qpdfview/qpdfview-0.5.ebuild
index 463443836b8c..23bf1eb4974d 100644
--- a/app-text/qpdfview/qpdfview-0.5.ebuild
+++ b/app-text/qpdfview/qpdfview-0.5.ebuild
@@ -42,6 +42,10 @@ DEPEND="${RDEPEND}"
 
 DOCS=( CHANGES CONTRIBUTORS README TODO )
 
+PATCHES=(
+	"${FILESDIR}"/${PN}-0.5-poppler-23.08.0-cxx17.patch
+)
+
 src_prepare() {
 	default
 


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-09-08 12:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-30  9:31 [gentoo-commits] repo/gentoo:master commit in: app-text/qpdfview/files/, app-text/qpdfview/ Andreas Sturmlechner
  -- strict thread matches above, loose matches on Subject: below --
2023-09-08 12:57 Sam James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox