diff options
Diffstat (limited to 'package/glib/patches')
-rw-r--r-- | package/glib/patches/patch-glib_gnulib_meson_build | 12 | ||||
-rw-r--r-- | package/glib/patches/patch-gobject-2_0_pc_in | 10 | ||||
-rw-r--r-- | package/glib/patches/patch-meson_build | 10 |
3 files changed, 22 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..4039f468f --- /dev/null +++ b/package/glib/patches/patch-glib_gnulib_meson_build @@ -0,0 +1,12 @@ +--- glib-2.75.2.orig/glib/gnulib/meson.build 2023-01-06 13:49:52.000000000 +0100 ++++ glib-2.75.2/glib/gnulib/meson.build 2023-01-22 14:08:55.068305964 +0100 +@@ -312,9 +312,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-gobject-2_0_pc_in b/package/glib/patches/patch-gobject-2_0_pc_in deleted file mode 100644 index 7c00fc7b5..000000000 --- a/package/glib/patches/patch-gobject-2_0_pc_in +++ /dev/null @@ -1,10 +0,0 @@ ---- glib-2.56.1.orig/gobject-2.0.pc.in 2016-10-22 07:12:49.000000000 +0200 -+++ glib-2.56.1/gobject-2.0.pc.in 2021-11-04 05:31:24.191433397 +0100 -@@ -7,6 +7,6 @@ Name: GObject - Description: GLib Type, Object, Parameter and Signal Library - Requires: glib-2.0 - Version: @VERSION@ --Libs: -L${libdir} -lgobject-2.0 -+Libs: -L${libdir} -lgobject-2.0 -lffi - Libs.private: @LIBFFI_LIBS@ - Cflags: diff --git a/package/glib/patches/patch-meson_build b/package/glib/patches/patch-meson_build new file mode 100644 index 000000000..c410eac33 --- /dev/null +++ b/package/glib/patches/patch-meson_build @@ -0,0 +1,10 @@ +--- glib-2.75.2.orig/meson.build 2023-01-06 13:49:52.000000000 +0100 ++++ glib-2.75.2/meson.build 2023-01-22 14:18:11.633406695 +0100 +@@ -513,6 +513,7 @@ if cc.get_id() == 'gcc' or cc.get_id() = + '-Werror=missing-include-dirs', + '-Werror=pointer-arith', + '-Werror=unused-result', ++ '-Wno-error=format-nonliteral', + ] + + warning_c_args = warning_common_args + [ |