summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHank Leininger <hlein@korelogic.com>2022-03-04 11:34:20 -0700
committerSam James <sam@gentoo.org>2022-03-12 00:09:50 +0000
commit6566d4988d100cbbfb4fec194576e69bc53d7386 (patch)
treec77f330cbbcb8d0675f7198c359e7b1932ab3572 /x11-misc/xscreensaver
parentsys-devel/icecream: add 1.4 (diff)
downloadgentoo-6566d4988d100cbbfb4fec194576e69bc53d7386.tar.gz
gentoo-6566d4988d100cbbfb4fec194576e69bc53d7386.tar.bz2
gentoo-6566d4988d100cbbfb4fec194576e69bc53d7386.zip
x11-misc/xscreensaver: fix configure with USE=-opengl
Deliberately disabling opengl became a fatal error in configure. Signed-off-by: Hank Leininger <hlein@korelogic.com> Closes: https://bugs.gentoo.org/834582 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Closes: https://github.com/gentoo/gentoo/pull/24404 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'x11-misc/xscreensaver')
-rw-r--r--x11-misc/xscreensaver/files/xscreensaver-6.03-without-gl-configure.patch11
-rw-r--r--x11-misc/xscreensaver/xscreensaver-6.03.ebuild1
2 files changed, 12 insertions, 0 deletions
diff --git a/x11-misc/xscreensaver/files/xscreensaver-6.03-without-gl-configure.patch b/x11-misc/xscreensaver/files/xscreensaver-6.03-without-gl-configure.patch
new file mode 100644
index 000000000000..9d741072f4e1
--- /dev/null
+++ b/x11-misc/xscreensaver/files/xscreensaver-6.03-without-gl-configure.patch
@@ -0,0 +1,11 @@
+diff -urP xscreensaver-6.03.orig/configure.ac xscreensaver-6.03/configure.ac
+--- xscreensaver-6.03.orig/configure.ac 2022-03-04 11:23:24.415172769 -0700
++++ xscreensaver-6.03/configure.ac 2022-03-04 11:27:40.419205257 -0700
+@@ -4737,7 +4737,6 @@
+ CONF_STATUS=1
+ elif test "$with_gl_req" = no ; then
+ noteL 'The OpenGL 3D library is not being used.'
+- CONF_STATUS=1
+ else
+ noteL 'The OpenGL 3D library was not found.'
+ CONF_STATUS=1
diff --git a/x11-misc/xscreensaver/xscreensaver-6.03.ebuild b/x11-misc/xscreensaver/xscreensaver-6.03.ebuild
index 815313c79b32..c56932d1468c 100644
--- a/x11-misc/xscreensaver/xscreensaver-6.03.ebuild
+++ b/x11-misc/xscreensaver/xscreensaver-6.03.ebuild
@@ -91,6 +91,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-6.01-non-gtk-install.patch
"${FILESDIR}"/${PN}-6.01-gtk-detection.patch
"${FILESDIR}"/${PN}-6.01-configure-install_sh.patch
+ "${FILESDIR}"/${PN}-6.03-without-gl-configure.patch
)
DOCS=( README{,.hacking} )