commit:     2bfa05078a93e0dc559ce15c4af965a7ec0d6f4a
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Tue May 23 19:51:21 2023 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Tue May 23 19:53:50 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2bfa0507

app-emulation/fuse: USE=png requires USE=zlib

screenshot.c unconditionally passes Z_BEST_COMPRESSION, a zlib.h macro,
to png_set_compression_level(). Funnily enough, the same file first
takes pains to only include zlib.h if it was found by configure.

Closes: https://bugs.gentoo.org/907034
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 app-emulation/fuse/fuse-1.6.0.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/app-emulation/fuse/fuse-1.6.0.ebuild 
b/app-emulation/fuse/fuse-1.6.0.ebuild
index ad8465525cbb..b7f0f065d660 100644
--- a/app-emulation/fuse/fuse-1.6.0.ebuild
+++ b/app-emulation/fuse/fuse-1.6.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -21,7 +21,8 @@ IUSE="alsa ao backend-X backend-fbcon +backend-gtk3 
backend-sdl backend-svga gpm
 
 # At most one audio driver and at most one UI back-end can be enabled at a time
 REQUIRED_USE="?? ( alsa ao backend-sdl pulseaudio )
-       ?? ( backend-X backend-fbcon backend-gtk3 backend-sdl backend-svga )"
+       ?? ( backend-X backend-fbcon backend-gtk3 backend-sdl backend-svga )
+       png? ( zlib )"
 
 RDEPEND="
        >=app-emulation/libspectrum-1.5.0[zlib?]

Reply via email to