[BACK]Return to patch-tests_meson.build CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / graphics / gdk-pixbuf2 / patches

File: [cvs.NetBSD.org] / pkgsrc / graphics / gdk-pixbuf2 / patches / patch-tests_meson.build (download)

Revision 1.2, Sun Sep 19 08:06:20 2021 UTC (2 months, 2 weeks ago) by nia
Branch: MAIN
CVS Tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3
Changes since 1.1: +18 -18 lines

gdk-pixbuf2: update to 2.42.6, primarily to fix CVE-2020-29385 and various
leaks.

Changes relevant to pkgsrc packaging:

- gdk-pixbuf2-xlib now uses a separate distfile.
- The jpeg and png loaders are no longer separate shared libraries.
- A fix for SunOS was upstreamed.

$NetBSD: patch-tests_meson.build,v 1.2 2021/09/19 08:06:20 nia Exp $

Add LD_LIBRARY_PATH so uninstalled programs find newly built shared libraries.

--- tests/meson.build.orig	2021-04-09 14:44:51.540196000 +0000
+++ tests/meson.build
@@ -12,6 +12,7 @@ if enabled_loaders.contains('png') and h
     input: 'resources.gresource.xml',
     output: 'resources.c',
     command: [
+      'env', 'LD_LIBRARY_PATH=' + meson.current_build_dir() + '/../gdk-pixbuf',
       gen_resources,
       '--glib-compile-resources=@0@'.format(glib_compile_resources.full_path()),
       '--pixdata=@0@'.format(gdk_pixbuf_pixdata.full_path()),
@@ -31,6 +32,7 @@ if enabled_loaders.contains('png') and h
     input: 'resources.gresource.xml',
     output: 'resources.h',
     command: [
+      'env', 'LD_LIBRARY_PATH=' + meson.current_build_dir() + '/../gdk-pixbuf',
       gen_resources,
       '--glib-compile-resources=@0@'.format(glib_compile_resources.full_path()),
       '--pixdata=@0@'.format(gdk_pixbuf_pixdata.full_path()),