commit:     52817902f672e4e269d795e68bd28e8806ebdf36
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 19 17:27:32 2025 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Thu Jun 19 17:28:54 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52817902

app-text/pdfpc: Warn in the -X -wayland case

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 app-text/pdfpc/pdfpc-4.7.0-r1.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/app-text/pdfpc/pdfpc-4.7.0-r1.ebuild 
b/app-text/pdfpc/pdfpc-4.7.0-r1.ebuild
index 30473e181bf7..53474c8a0f61 100644
--- a/app-text/pdfpc/pdfpc-4.7.0-r1.ebuild
+++ b/app-text/pdfpc/pdfpc-4.7.0-r1.ebuild
@@ -67,6 +67,7 @@ src_prepare() {
        if ! use wayland; then  #958395
                sed -i -e 's/GDK_WINDOWING_WAYLAND/GdK_nO_wAyLaNd/' \
                        src/display_backend.c || die
+               use X || ewarn 'Neither "X" nor "wayland" USE flag set - 
enabling X11'
        elif ! use X; then
                sed -i -e 's/GDK_WINDOWING_X11/GdK_nO_xElEvEn/' \
                        src/display_backend.c || die

Reply via email to