summaryrefslogtreecommitdiff
path: root/glib2-static/MR1405.patch
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-09-01 22:21:37 +0200
committerErich Eckner <git@eckner.net>2020-09-01 22:21:37 +0200
commita41e0696a0dda58375fbc63744c8a9130e2b70ce (patch)
tree6d0ec04e7c85bca03a71b7854e34efdadcc815fc /glib2-static/MR1405.patch
parent315730df482a05d894f95d52dd8f7d178ca68b56 (diff)
downloadarchlinuxewe-a41e0696a0dda58375fbc63744c8a9130e2b70ce.tar.xz
glib2-static new
Diffstat (limited to 'glib2-static/MR1405.patch')
-rw-r--r--glib2-static/MR1405.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/glib2-static/MR1405.patch b/glib2-static/MR1405.patch
new file mode 100644
index 000000000..358f2f528
--- /dev/null
+++ b/glib2-static/MR1405.patch
@@ -0,0 +1,24 @@
+diff --git a/glib/tests/meson.build b/glib/tests/meson.build
+index 3dedafcdb77e7ee484d600ee0d7c3aa66c85476e..8da477d1910aed30f3aae4c6081c3d458aa452d4 100644
+--- a/glib/tests/meson.build
++++ b/glib/tests/meson.build
+@@ -47,7 +47,10 @@ glib_tests = {
+ 'markup-collect' : {},
+ 'markup-escape' : {},
+ 'markup-subparser' : {},
+- 'mem-overflow' : {},
++ 'mem-overflow' : {
++ 'link_args' : cc.get_id() == 'gcc' and cc.version().version_compare('> 6')
++ ? ['-Wno-alloc-size-larger-than'] : [],
++ },
+ 'mutex' : {},
+ 'node' : {},
+ 'once' : {},
+@@ -220,6 +223,7 @@ foreach test_name, extra_args : glib_tests
+
+ exe = executable(test_name, source,
+ c_args : test_cargs + extra_args.get('c_args', []),
++ link_args : extra_args.get('link_args', []),
+ dependencies : test_deps + extra_args.get('dependencies', []),
+ install_dir: installed_tests_execdir,
+ install: install,