1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-14 11:23:57 +02:00
openwrt-packages/libs/glib2/patches/006-c99.patch
krant 08c7b0dfca glib2: update to 2.78.4
- Use HTTPS for package URL
- Don't set default Meson options
- Remove upstreamed patch
- Refresh remaining patches

Signed-off-by: krant <aleksey.vasilenko@gmail.com>
2024-02-09 00:32:03 -08:00

12 lines
475 B
Diff

--- a/meson.build
+++ b/meson.build
@@ -1118,7 +1118,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)