summarylogtreecommitdiffstats
path: root/renameat2-test-fix.patch
diff options
context:
space:
mode:
authorNikita Puzyryov2018-09-08 20:37:04 +0300
committerNikita Puzyryov2018-09-08 20:37:04 +0300
commit1655da6b3c995fe4f095faa381f9cb4316116207 (patch)
treeff5a9b4f76feb2a9a636872fd5bc873c945dfc7f /renameat2-test-fix.patch
parent3fef86bd154791b8483ad90d52daef8363fb41ae (diff)
downloadaur-1655da6b3c995fe4f095faa381f9cb4316116207.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])