pkgsrc/devel/glib2/patches/patch-gio_meson.build
adam 951630c602 glib2: updated to 2.60.7
Overview of changes in GLib 2.60.7
* Bugs fixed:
 - Invalid characters in Open Location dialog crashes GIMP
 - Setting GLIB_VERSION_{MIN_REQUIRED, MAX_ALLOWED} to before 2.56 triggers warnings
 - Backport !1009 “gapplication: remove inactivity_timeout source on finalize” to glib-2-60
 - Backport !1008 “gmessages: Only use structured logs if GLIB_VERSION_MAX_ALLOWED is ≥2.56” to glib-2-60
 - Backport !966 “Resolve "Invalid characters in Open Location dialog crashes GIMP"” to glib-2-60
 - Backport !1040 “GSettingsBackend - Fix thread-safety during destruction of GSettings instances...” to glib-2-60
 - Backport !1017 “gdatetime: Avoid an assertion failure when parsing some ISO 8601 dates” to glib-2-60
2019-10-29 09:22:24 +00:00

21 lines
751 B
Text

$NetBSD: patch-gio_meson.build,v 1.6 2019/10/29 09:22:24 adam Exp $
Don't build tests, as have strong dependency on libdl.
Disable inotify on SunOS.
--- gio/meson.build.orig 2019-06-10 17:47:20.000000000 +0000
+++ gio/meson.build
@@ -758,7 +759,7 @@ gioenumtypes_c = custom_target('gioenumt
gioenumtypes_dep = declare_dependency(sources : [gioenumtypes_h, glib_enumtypes_h])
# inotify
-if glib_conf.has('HAVE_SYS_INOTIFY_H') and have_func_inotify_init1
+if glib_conf.has('HAVE_SYS_INOTIFY_H') and have_func_inotify_init1 and host_system != 'sunos'
subdir('inotify')
internal_deps += [ inotify_lib ]
internal_objects += [inotify_lib.extract_all_objects()]
@@ -994,4 +995,3 @@ if enable_systemtap
endif
subdir('fam')
-subdir('tests')