File qemu.libpng.patch of Package qemu-7.2

From: Olaf Hering <olaf@aepfle.de>
Date: Wed, 13 Jul 2022 07:56:18 +0000
Subject: libpng

Commit 1ec8c2c01ed9c1b2bc8a273c7045e179f90013bc

Signed-off-by: Olaf Hering <olaf@aepfle.de>
---
 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/meson.build
+++ b/meson.build
@@ -1269,25 +1269,25 @@ if not get_option('gtk').auto() or have_system
   elif have_gtk_clipboard
     error('GTK clipboard requested, but GTK not found')
   endif
 endif
 
 x11 = not_found
 if gtkx11.found()
   x11 = dependency('x11', method: 'pkg-config', required: gtkx11.found(),
                    kwargs: static_kwargs)
 endif
 png = not_found
 if get_option('png').allowed() and have_system
-   png = dependency('libpng', version: '>=1.6.34', required: get_option('png'),
+   png = dependency('libpng', required: get_option('png'),
                     method: 'pkg-config', kwargs: static_kwargs)
 endif
 vnc = not_found
 jpeg = not_found
 sasl = not_found
 if get_option('vnc').allowed() and have_system
   vnc = declare_dependency() # dummy dependency
   jpeg = dependency('libjpeg', required: get_option('vnc_jpeg'),
                     method: 'pkg-config', kwargs: static_kwargs)
   sasl = cc.find_library('sasl2', has_headers: ['sasl/sasl.h'],
                          required: get_option('vnc_sasl'),
                          kwargs: static_kwargs)
openSUSE Build Service is sponsored by