commit:     e00f435d7b1c02f16d6f5e1e897801e2c29e77aa
Author:     Paul Zander <negril.nx+gentoo <AT> gmail <DOT> com>
AuthorDate: Wed Nov  1 12:44:05 2023 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Thu Nov 16 15:10:51 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e00f435d

app-text/xpdf: fix build with installed Qt6

Closes: https://bugs.gentoo.org/910166

Signed-off-by: Paul Zander <negril.nx+gentoo <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/33618
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 app-text/xpdf/xpdf-4.04-r1.ebuild | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/app-text/xpdf/xpdf-4.04-r1.ebuild 
b/app-text/xpdf/xpdf-4.04-r1.ebuild
index 512df3d45bb8..cf95468f9077 100644
--- a/app-text/xpdf/xpdf-4.04-r1.ebuild
+++ b/app-text/xpdf/xpdf-4.04-r1.ebuild
@@ -92,6 +92,11 @@ src_configure() {
                -DWITH_LIBPNG=$(usex png)
                -DXPDFWIDGET_PRINTING=$(usex cups)
                -DSYSTEM_XPDFRC="${EPREFIX}/etc/xpdfrc"
+               # Bug 910166
+               # https://forum.xpdfreader.com/viewtopic.php?p=45052#p45052
+               # Likely fixed in 4.05
+               -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Widgets=ON
+               -DCMAKE_DISABLE_FIND_PACKAGE_Qt4=ON
        )
        cmake_src_configure
 }

Reply via email to