summarylogtreecommitdiffstats
path: root/renameat2-test-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'renameat2-test-fix.patch')
-rw-r--r--renameat2-test-fix.patch7
1 files changed, 7 insertions, 0 deletions
diff --git a/renameat2-test-fix.patch b/renameat2-test-fix.patch
new file mode 100644
index 00000000000..8022869578b
--- /dev/null
+++ b/renameat2-test-fix.patch
@@ -0,0 +1,7 @@
+diff --git a/meson.build b/meson.build
+index f42ed16..c0f741e 100644
+--- a/meson.build
++++ b/meson.build
+@@ -81 +81 @@ foreach ident : [
+- have = cc.has_function(ident[0], prefix : ident[1])
++ have = cc.has_function(ident[0], args : '-D_GNU_SOURCE', prefix : ident[1])