2021-12-31 06:59:19 +01:00
|
|
|
--- ./meson.build.orig 2021-12-03 15:29:15.000000000 +0530
|
|
|
|
+++ ./meson.build 2021-12-31 12:02:24.204785929 +0530
|
2021-12-11 11:24:41 +01:00
|
|
|
@@ -443,7 +443,6 @@
|
|
|
|
# A zero-length format string shouldn't be considered an issue.
|
|
|
|
'-Wno-format-zero-length',
|
2019-05-11 23:27:58 +02:00
|
|
|
'-Werror=declaration-after-statement',
|
|
|
|
- '-Werror=format=2',
|
|
|
|
'-Werror=implicit-function-declaration',
|
|
|
|
'-Werror=init-self',
|
|
|
|
'-Werror=missing-include-dirs',
|
2021-12-31 06:59:19 +01:00
|
|
|
@@ -511,7 +510,6 @@
|
|
|
|
'getresuid',
|
|
|
|
'getvfsstat',
|
|
|
|
'gmtime_r',
|
|
|
|
- 'hasmntopt',
|
|
|
|
'inotify_init1',
|
|
|
|
'issetugid',
|
|
|
|
'kevent',
|
|
|
|
@@ -2047,9 +2045,8 @@
|
2020-09-11 18:17:02 +02:00
|
|
|
# FIXME: glib-gettext.m4 has much more checks to detect broken/uncompatible
|
|
|
|
# implementations. This could be extended if issues are found in some platforms.
|
|
|
|
libintl_deps = []
|
2021-12-11 11:24:41 +01:00
|
|
|
-if cc.has_function('ngettext', args : osx_ldflags)
|
2020-09-11 18:17:02 +02:00
|
|
|
- have_bind_textdomain_codeset = cc.has_function('bind_textdomain_codeset')
|
2019-06-12 04:27:15 +02:00
|
|
|
-else
|
2020-09-11 18:17:02 +02:00
|
|
|
+have_bind_textdomain_codeset = cc.has_function('bind_textdomain_codeset')
|
2020-09-11 18:46:57 +02:00
|
|
|
+if host_system != 'android'
|
2020-09-11 18:17:02 +02:00
|
|
|
# First just find the bare library.
|
|
|
|
libintl = cc.find_library('intl', required : false)
|
|
|
|
# The bare library probably won't link without help if it's static.
|