summarylogtreecommitdiffstats
path: root/renameat2-test-fix.patch
diff options
context:
space:
mode:
authorNikita Puzyryov2018-09-08 20:47:46 +0300
committerNikita Puzyryov2018-09-08 20:47:46 +0300
commit0f552409a61477fa35b45a38a840c99b1ab60429 (patch)
treeb32f7da7e1b300ef75a1c7e45ac940bfba9e29e3 /renameat2-test-fix.patch
parentad31a3298c8d6857471ba4e3bbd7af9899723b0e (diff)
downloadaur-0f552409a61477fa35b45a38a840c99b1ab60429.tar.gz
Fix renameat2 test
https://github.com/systemd/casync/issues/166
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 000000000000..8022869578b9
--- /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])