summaryrefslogtreecommitdiff
path: root/package/glib/patches
diff options
context:
space:
mode:
Diffstat (limited to 'package/glib/patches')
-rw-r--r--package/glib/patches/patch-glib_gnulib_meson_build12
-rw-r--r--package/glib/patches/patch-meson_build10
2 files changed, 12 insertions, 10 deletions
diff --git a/package/glib/patches/patch-glib_gnulib_meson_build b/package/glib/patches/patch-glib_gnulib_meson_build
new file mode 100644
index 000000000..bd37116c2
--- /dev/null
+++ b/package/glib/patches/patch-glib_gnulib_meson_build
@@ -0,0 +1,12 @@
+--- glib-2.84.0.orig/glib/gnulib/meson.build 2025-03-06 14:09:13.000000000 +0100
++++ glib-2.84.0/glib/gnulib/meson.build 2025-03-30 06:00:21.051043526 +0200
+@@ -315,9 +315,6 @@ endif
+ if not gl_cv_func_frexp_works and gl_cv_func_frexp_broken_beyond_repair
+ error ('frexp() is missing or broken beyond repair, and we have nothing to replace it with')
+ endif
+-if not gl_cv_func_frexpl_works and gl_cv_func_frexpl_broken_beyond_repair
+- error ('frexpl() is missing or broken beyond repair, and we have nothing to replace it with')
+-endif
+
+ math_h_config.set ('REPLACE_FREXP', gl_cv_func_frexp_works ? 0 : 1)
+ math_h_config.set ('REPLACE_FREXPL', gl_cv_func_frexpl_works ? 0 : 1)
diff --git a/package/glib/patches/patch-meson_build b/package/glib/patches/patch-meson_build
deleted file mode 100644
index 7a68e0a57..000000000
--- a/package/glib/patches/patch-meson_build
+++ /dev/null
@@ -1,10 +0,0 @@
---- glib-2.70.0.orig/meson.build 2021-09-17 12:17:56.849962700 +0200
-+++ glib-2.70.0/meson.build 2022-02-28 20:24:15.048295012 +0100
-@@ -449,6 +449,7 @@ if cc.get_id() == 'gcc' or cc.get_id() =
- '-Werror=missing-include-dirs',
- '-Werror=missing-prototypes',
- '-Werror=pointer-arith',
-+ '-Wno-error=format-nonliteral',
- ]
- warning_c_link_args = [
- '-Wl,-z,nodelete',