diff options
author | Sam James <sam@gentoo.org> | 2023-09-08 13:57:24 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-09-08 13:57:35 +0100 |
commit | e4b459a4ba460fb6a2d3be40648d5397ea19d70b (patch) | |
tree | 9412d4225ab0c297a8fbeeb9a60782053a8fdd89 /app-text/qpdfview | |
parent | x11-misc/xscreensaver: fix fonts removal (diff) | |
download | gentoo-e4b459a4ba460fb6a2d3be40648d5397ea19d70b.tar.gz gentoo-e4b459a4ba460fb6a2d3be40648d5397ea19d70b.tar.bz2 gentoo-e4b459a4ba460fb6a2d3be40648d5397ea19d70b.zip |
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@gentoo.org>
Diffstat (limited to 'app-text/qpdfview')
-rw-r--r-- | app-text/qpdfview/files/qpdfview-0.5-poppler-23.08.0-cxx17.patch | 9 | ||||
-rw-r--r-- | app-text/qpdfview/qpdfview-0.5.ebuild | 4 |
2 files changed, 13 insertions, 0 deletions
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 |