0
0
mirror of https://github.com/openwrt/packages.git synced 2025-07-10 01:49:00 +00:00
Files
packages/libs/glib2/patches/006-c99.patch
Yegor Yefremov b93ad772be libs/glib2: update to 2.82.0
Remove the obsolete patch as the required functionality was already
available upstream.

Refresh 006-c99.patch.

Remove -Ddefault_library option from MESON_HOST_ARGS and MESON_ARGS as
this is now the default behavior.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2024-09-17 09:12:25 -07:00

12 lines
475 B
Diff

--- a/meson.build
+++ b/meson.build
@@ -1189,7 +1189,7 @@ if host_system == 'windows' and (cc.get_
glib_conf.set('HAVE_C99_SNPRINTF', false)
glib_conf.set('HAVE_C99_VSNPRINTF', false)
glib_conf.set('HAVE_UNIX98_PRINTF', false)
-elif not cc_can_run and host_system in ['ios', 'darwin']
+elif true
# All these are true when compiling natively on macOS, so we should use good
# defaults when building for iOS and tvOS.
glib_conf.set('HAVE_C99_SNPRINTF', true)